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

Unified Diff: base/files/file.h

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 years, 10 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
Index: base/files/file.h
diff --git a/base/files/file.h b/base/files/file.h
index 0155c7c259e771b318637488a5e7b49d66e76b7b..aed00e01c6a1c9550974705c8bd532d3bae70121 100644
--- a/base/files/file.h
+++ b/base/files/file.h
@@ -32,7 +32,7 @@ namespace base {
using PlatformFile = HANDLE;
const PlatformFile kInvalidPlatformFile = INVALID_HANDLE_VALUE;
-#elif defined(OS_POSIX)
+#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
using PlatformFile = int;
const PlatformFile kInvalidPlatformFile = -1;
@@ -357,7 +357,7 @@ class BASE_EXPORT File {
#if defined(OS_WIN)
win::ScopedHandle file_;
-#elif defined(OS_POSIX)
+#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
ScopedFD file_;
#endif

Powered by Google App Engine
This is Rietveld 408576698