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

Unified Diff: webrtc/base/file.h

Issue 2360303004: Default constructor for 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 | « no previous file | webrtc/base/file.cc » ('j') | webrtc/base/file.cc » ('J')
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 6ca4825ed006dd9e72bd689bb907198b129901d6..7375d77bbf3286a60705e94b2adbc514ac4dba55 100644
--- a/webrtc/base/file.h
+++ b/webrtc/base/file.h
@@ -32,6 +32,9 @@ class File {
explicit File(PlatformFile);
perkj_webrtc 2016/09/28 14:53:35 this is also ctor - Move ~File after all ctors.
~File();
+ // The default constructor produces a closed file.
+ File();
+
File(File&& other);
File& operator=(File&& other);
« no previous file with comments | « no previous file | webrtc/base/file.cc » ('j') | webrtc/base/file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698