Index: webrtc/base/win32filesystem.h |
diff --git a/webrtc/base/win32filesystem.h b/webrtc/base/win32filesystem.h |
index a41cc3e4d4350769437be48120a5224d321a9807..7ddbbd7e6c050ec80ff78b3009b2d66377a3909c 100644 |
--- a/webrtc/base/win32filesystem.h |
+++ b/webrtc/base/win32filesystem.h |
@@ -19,48 +19,47 @@ class Win32Filesystem : public FilesystemInterface { |
public: |
// This will attempt to delete the path located at filename. |
// If the path points to a folder, it will fail with VERIFY |
- virtual bool DeleteFile(const Pathname &filename); |
- |
- // This will attempt to delete an empty folder. If the path does not point to |
- // a folder, it fails with VERIFY. If the folder is not empty, it fails normally |
- virtual bool DeleteEmptyFolder(const Pathname &folder); |
+ bool DeleteFile(const Pathname& filename) override; |
// Creates a directory. This will call itself recursively to create /foo/bar even if |
// /foo does not exist. |
// Returns TRUE if function succeeds |
- virtual bool CreateFolder(const Pathname &pathname); |
- |
+ bool CreateFolder(const Pathname& pathname) override; |
+ |
// This moves a file from old_path to new_path. If the new path is on a |
// different volume than the old, it will attempt to copy and then delete |
// the folder |
// Returns true if the file is successfully moved |
- virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); |
- |
+ bool MoveFile(const Pathname& old_path, const Pathname& new_path) override; |
+ |
// Returns true if a pathname is a directory |
- virtual bool IsFolder(const Pathname& pathname); |
- |
+ bool IsFolder(const Pathname& pathname) override; |
+ |
// Returns true if a file exists at path |
- virtual bool IsFile(const Pathname &path); |
+ bool IsFile(const Pathname& path) override; |
// Returns true if pathname refers to no filesystem object, every parent |
// directory either exists, or is also absent. |
- virtual bool IsAbsent(const Pathname& pathname); |
+ bool IsAbsent(const Pathname& pathname) override; |
// All of the following functions set pathname and return true if successful. |
// Returned paths always include a trailing backslash. |
// If create is true, the path will be recursively created. |
// If append is non-null, it will be appended (and possibly created). |
- virtual std::string TempFilename(const Pathname &dir, const std::string &prefix); |
+ std::string TempFilename(const Pathname& dir, |
+ const std::string& prefix) override; |
- virtual bool GetFileSize(const Pathname& path, size_t* size); |
- virtual bool GetFileTime(const Pathname& path, FileTimeType which, |
- time_t* time); |
+ bool GetFileSize(const Pathname& path, size_t* size) override; |
+ bool GetFileTime(const Pathname& path, |
+ FileTimeType which, |
+ time_t* time) override; |
// A folder appropriate for storing temporary files (Contents are |
// automatically deleted when the program exists) |
- virtual bool GetTemporaryFolder(Pathname &path, bool create, |
- const std::string *append); |
+ bool GetTemporaryFolder(Pathname& path, |
+ bool create, |
+ const std::string* append) override; |
private: |
// Returns the path to the running application. |