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

Unified Diff: webrtc/base/file.h

Issue 2558693002: Add WriteIsolatedOutput() functions (Closed)
Patch Set: Resolve review comments Created 4 years 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/base/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/file.h
diff --git a/webrtc/base/file.h b/webrtc/base/file.h
index 5e8449ccdf9fc84ecf130ebe11769b74f2987b3b..f4806d1a02bd569ed0c181f944603851e57ecca9 100644
--- a/webrtc/base/file.h
+++ b/webrtc/base/file.h
@@ -47,6 +47,11 @@ class File {
static File Create(Pathname&& path);
static File Create(const Pathname& path);
+ // Remove a file in the file system.
+ static bool Remove(const std::string& path);
+ static bool Remove(Pathname&& path);
+ static bool Remove(const Pathname& path);
+
size_t Write(const uint8_t* data, size_t length);
size_t Read(uint8_t* buffer, size_t length);
« no previous file with comments | « no previous file | webrtc/base/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698