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

Unified Diff: webrtc/base/fileutils.h

Issue 2926713007: Delete unused method FilesystemInterface::GetFileTime. (Closed)
Patch Set: Rebased. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/base/unixfilesystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/fileutils.h
diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h
index 9f53ac33ac97d42229b3ded15fec500dbe1683ed..00b4d8d263af4b6bed26ae1607ed93905a497fc3 100644
--- a/webrtc/base/fileutils.h
+++ b/webrtc/base/fileutils.h
@@ -74,8 +74,6 @@ class DirectoryIterator {
#endif
};
-enum FileTimeType { FTT_CREATED, FTT_MODIFIED, FTT_ACCESSED };
-
class FilesystemInterface {
public:
virtual ~FilesystemInterface() {}
@@ -114,10 +112,6 @@ class FilesystemInterface {
// Determines the size of the file indicated by path.
virtual bool GetFileSize(const Pathname& path, size_t* size) = 0;
-
- // Determines a timestamp associated with the file indicated by path.
- virtual bool GetFileTime(const Pathname& path, FileTimeType which,
- time_t* time) = 0;
};
class Filesystem {
@@ -176,11 +170,6 @@ class Filesystem {
return EnsureDefaultFilesystem()->GetFileSize(path, size);
}
- static bool GetFileTime(const Pathname& path, FileTimeType which,
- time_t* time) {
- return EnsureDefaultFilesystem()->GetFileTime(path, which, time);
- }
-
private:
static FilesystemInterface* default_filesystem_;
« no previous file with comments | « no previous file | webrtc/base/unixfilesystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698