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

Unified Diff: webrtc/base/fileutils_mock.h

Issue 2445733002: Delete unused features of rtc::FilesystemInterface. (Closed)
Patch Set: Created 4 years, 2 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 | « webrtc/base/fileutils.cc ('k') | webrtc/base/fileutils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/fileutils_mock.h
diff --git a/webrtc/base/fileutils_mock.h b/webrtc/base/fileutils_mock.h
index 428d444e1242a7d56d2d6e5d17583a181acd383f..7ce41fa0471a51859abc847b355b7c79ad7f8849 100644
--- a/webrtc/base/fileutils_mock.h
+++ b/webrtc/base/fileutils_mock.h
@@ -150,10 +150,6 @@ class FakeFileSystem : public FilesystemInterface {
return NULL;
}
- bool CreatePrivateFile(const Pathname &filename) {
- EXPECT_TRUE(false) << "Unsupported operation";
- return false;
- }
bool DeleteFile(const Pathname &filename) {
EXPECT_TRUE(false) << "Unsupported operation";
return false;
@@ -174,10 +170,6 @@ class FakeFileSystem : public FilesystemInterface {
EXPECT_TRUE(false) << "Unsupported operation";
return false;
}
- bool MoveFolder(const Pathname &old_path, const Pathname &new_path) {
- EXPECT_TRUE(false) << "Unsupported operation";
- return false;
- }
bool MoveFile(const Pathname &old_path, const Pathname &new_path) {
EXPECT_TRUE(false) << "Unsupported operation";
return false;
@@ -220,10 +212,6 @@ class FakeFileSystem : public FilesystemInterface {
EXPECT_TRUE(false) << "Unsupported operation";
return false;
}
- bool GetAppPathname(Pathname *path) {
- EXPECT_TRUE(false) << "Unsupported operation";
- return false;
- }
bool GetAppDataFolder(Pathname *path, bool per_user) {
EXPECT_TRUE(per_user) << "Unsupported operation";
#if defined(WEBRTC_WIN)
@@ -241,11 +229,8 @@ class FakeFileSystem : public FilesystemInterface {
EXPECT_TRUE(false) << "Unsupported operation";
return false;
}
- Pathname GetCurrentDirectory() {
- return Pathname();
- }
- private:
+ private:
const std::vector<File> all_files_;
};
} // namespace rtc
« no previous file with comments | « webrtc/base/fileutils.cc ('k') | webrtc/base/fileutils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698