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

Unified Diff: webrtc/rtc_base/fileutils.h

Issue 2995413002: Delete Filesystem::GetTemporaryFolder. (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 | « webrtc/rtc_base/applefilesystem.mm ('k') | webrtc/rtc_base/fileutils_unittest.cc » ('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 b633a38270b1e9a1e9bc03eb77b5429f4d6fde77..a4a94727aa4b914ee8793e3a273c43d7a19e1f79 100644
--- a/webrtc/rtc_base/fileutils.h
+++ b/webrtc/rtc_base/fileutils.h
@@ -102,11 +102,6 @@ class FilesystemInterface {
// directory either exists, or is also absent.
virtual bool IsAbsent(const Pathname& pathname) = 0;
- // A folder appropriate for storing temporary files (Contents are
- // automatically deleted when the program exits)
- virtual bool GetTemporaryFolder(Pathname &path, bool create,
- const std::string *append) = 0;
-
virtual std::string TempFilename(const Pathname &dir,
const std::string &prefix) = 0;
@@ -156,11 +151,6 @@ class Filesystem {
return EnsureDefaultFilesystem()->IsAbsent(pathname);
}
- static bool GetTemporaryFolder(Pathname &path, bool create,
- const std::string *append) {
- return EnsureDefaultFilesystem()->GetTemporaryFolder(path, create, append);
- }
-
static std::string TempFilename(const Pathname &dir,
const std::string &prefix) {
return EnsureDefaultFilesystem()->TempFilename(dir, prefix);
« no previous file with comments | « webrtc/rtc_base/applefilesystem.mm ('k') | webrtc/rtc_base/fileutils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698