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

Unified Diff: base/files/file.h

Issue 1148383003: Only support seeking file streams from the beginning of the file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use static method instead of new constructor. Created 5 years, 7 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 | base/files/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file.h
diff --git a/base/files/file.h b/base/files/file.h
index b21b15972bce7c62be0dad659cff4e76af262ac2..3f850c7f6463df399224306767551be21d4ba703 100644
--- a/base/files/file.h
+++ b/base/files/file.h
@@ -176,6 +176,8 @@ class BASE_EXPORT File {
~File();
+ static File CreateForAsyncHandle(PlatformFile platform_file);
Lei Zhang 2015/05/26 23:58:06 You need to mention this takes ownership of |platf
+
// Move operator= for C++03 move emulation of this type.
File& operator=(RValue other);
« no previous file with comments | « no previous file | base/files/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698