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_; |