Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: webrtc/base/win32filesystem.h

Issue 2699143002: Delete unused Filesystem methods GetAppDataFolder and GetDiskFreeSpace. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/unixfilesystem.cc ('k') | webrtc/base/win32filesystem.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 virtual bool GetFileSize(const Pathname& path, size_t* size); 68 virtual bool GetFileSize(const Pathname& path, size_t* size);
69 virtual bool GetFileTime(const Pathname& path, FileTimeType which, 69 virtual bool GetFileTime(const Pathname& path, FileTimeType which,
70 time_t* time); 70 time_t* time);
71 71
72 // A folder appropriate for storing temporary files (Contents are 72 // A folder appropriate for storing temporary files (Contents are
73 // automatically deleted when the program exists) 73 // automatically deleted when the program exists)
74 virtual bool GetTemporaryFolder(Pathname &path, bool create, 74 virtual bool GetTemporaryFolder(Pathname &path, bool create,
75 const std::string *append); 75 const std::string *append);
76 76
77 virtual bool GetAppDataFolder(Pathname* path, bool per_user);
78
79 // Get a temporary folder that is unique to the current user and application. 77 // Get a temporary folder that is unique to the current user and application.
80 virtual bool GetAppTempFolder(Pathname* path); 78 virtual bool GetAppTempFolder(Pathname* path);
81 79
82 virtual bool GetDiskFreeSpace(const Pathname& path, int64_t* free_bytes);
83
84 private: 80 private:
85 // Returns the path to the running application. 81 // Returns the path to the running application.
86 bool GetAppPathname(Pathname* path); 82 bool GetAppPathname(Pathname* path);
87 }; 83 };
88 84
89 } // namespace rtc 85 } // namespace rtc
90 86
91 #endif // WEBRTC_WINFILESYSTEM_H__ 87 #endif // WEBRTC_WINFILESYSTEM_H__
OLDNEW
« no previous file with comments | « webrtc/base/unixfilesystem.cc ('k') | webrtc/base/win32filesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698