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

Unified Diff: webrtc/rtc_base/fileutils.h

Issue 3012583002: Delete unused method FilesystemInterface::IsAbsent. (Closed)
Patch Set: Created 3 years, 4 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/rtc_base/unixfilesystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/fileutils.h
diff --git a/webrtc/rtc_base/fileutils.h b/webrtc/rtc_base/fileutils.h
index a4a94727aa4b914ee8793e3a273c43d7a19e1f79..ba4b28995e3117ae645de174c762fa4af0b90bd6 100644
--- a/webrtc/rtc_base/fileutils.h
+++ b/webrtc/rtc_base/fileutils.h
@@ -98,10 +98,6 @@ class FilesystemInterface {
// Returns true if pathname refers to a file
virtual bool IsFile(const Pathname& pathname) = 0;
- // Returns true if pathname refers to no filesystem object, every parent
- // directory either exists, or is also absent.
- virtual bool IsAbsent(const Pathname& pathname) = 0;
-
virtual std::string TempFilename(const Pathname &dir,
const std::string &prefix) = 0;
@@ -147,10 +143,6 @@ class Filesystem {
return EnsureDefaultFilesystem()->IsFile(pathname);
}
- static bool IsAbsent(const Pathname &pathname) {
- return EnsureDefaultFilesystem()->IsAbsent(pathname);
- }
-
static std::string TempFilename(const Pathname &dir,
const std::string &prefix) {
return EnsureDefaultFilesystem()->TempFilename(dir, prefix);
« no previous file with comments | « no previous file | webrtc/rtc_base/unixfilesystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698