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

Unified Diff: webrtc/base/file_posix.cc

Issue 2347473003: Removing, opening and creating files in platform_file and file (Closed)
Patch Set: Comments Created 4 years, 3 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/file.cc ('k') | webrtc/base/file_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/file_posix.cc
diff --git a/webrtc/base/file_posix.cc b/webrtc/base/file_posix.cc
index 2dde7938c2ca2c281366ef2bb4aba160edd56012..9c166ec1a25f5ac32f709f9ea6469ffa9cca3cde 100644
--- a/webrtc/base/file_posix.cc
+++ b/webrtc/base/file_posix.cc
@@ -22,10 +22,6 @@
namespace rtc {
-File File::Open(const std::string& path) {
- return File(::open(path.c_str(), O_RDWR));
-}
-
size_t File::Write(const uint8_t* data, size_t length) {
size_t total_written = 0;
do {
« no previous file with comments | « webrtc/base/file.cc ('k') | webrtc/base/file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698