Index: webrtc/base/fileutils.h |
diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h |
index 14d7091e475c5c83e6039060a74d6f96444a0161..d70ec89acf849f37c78b4a7dbd638a632f5a0367 100644 |
--- a/webrtc/base/fileutils.h |
+++ b/webrtc/base/fileutils.h |
@@ -155,19 +155,12 @@ class FilesystemInterface { |
virtual bool GetFileTime(const Pathname& path, FileTimeType which, |
time_t* time) = 0; |
- // Get a folder that is unique to the current application, which is suitable |
- // for sharing data between executions of the app. If the per_user arg is |
- // true, the folder is also specific to the current user. |
- virtual bool GetAppDataFolder(Pathname* path, bool per_user) = 0; |
- |
// Get a temporary folder that is unique to the current user and application. |
// TODO: Re-evaluate the goals of this function. We probably just need any |
// directory that won't collide with another existing directory, and which |
// will be cleaned up when the program exits. |
virtual bool GetAppTempFolder(Pathname* path) = 0; |
- virtual bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) = 0; |
- |
// Note: These might go into some shared config section later, but they're |
// used by some methods in this interface, so we're leaving them here for now. |
void SetOrganizationName(const std::string& organization) { |
@@ -276,18 +269,10 @@ class Filesystem { |
return EnsureDefaultFilesystem()->GetFileTime(path, which, time); |
} |
- static bool GetAppDataFolder(Pathname* path, bool per_user) { |
- return EnsureDefaultFilesystem()->GetAppDataFolder(path, per_user); |
- } |
- |
static bool GetAppTempFolder(Pathname* path) { |
return EnsureDefaultFilesystem()->GetAppTempFolder(path); |
} |
- static bool GetDiskFreeSpace(const Pathname& path, int64_t* freebytes) { |
- return EnsureDefaultFilesystem()->GetDiskFreeSpace(path, freebytes); |
- } |
- |
static void SetOrganizationName(const std::string& organization) { |
EnsureDefaultFilesystem()->SetOrganizationName(organization); |
} |