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

Unified Diff: trunk/src/base/files/file_win.cc

Issue 202493007: Revert 257577 "Revert 257562 "Base: Make base::File use ScopedFD..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « trunk/src/base/files/file_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/base/files/file_win.cc
===================================================================
--- trunk/src/base/files/file_win.cc (revision 257580)
+++ trunk/src/base/files/file_win.cc (working copy)
@@ -99,6 +99,11 @@
bool File::IsValid() const {
return file_.IsValid();
}
+
+PlatformFile File::GetPlatformFile() const {
+ return file_;
+}
+
PlatformFile File::TakePlatformFile() {
return file_.Take();
}
« no previous file with comments | « trunk/src/base/files/file_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698