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

Unified Diff: base/files/file_path.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_path.h
diff --git a/base/files/file_path.h b/base/files/file_path.h
index 02846f689218816b4048ee39dbfeb2e8b32f88d4..c1a490b48087e3f013104905e2c24190c156c518 100644
--- a/base/files/file_path.h
+++ b/base/files/file_path.h
@@ -144,7 +144,7 @@ class PickleSizer;
// pathnames on different platforms.
class BASE_EXPORT FilePath {
public:
-#if defined(OS_POSIX)
+#if defined(OS_POSIX) || defined(OS_FUCHSIA)
// On most platforms, native pathnames are char arrays, and the encoding
// may or may not be specified. On Mac OS X, native pathnames are encoded
// in UTF-8.
@@ -462,7 +462,7 @@ void PrintTo(const FilePath& path, std::ostream* out);
// Macros for string literal initialization of FilePath::CharType[], and for
// using a FilePath::CharType[] in a printf-style format string.
-#if defined(OS_POSIX)
+#if defined(OS_POSIX) || defined(OS_FUCHSIA)
#define FILE_PATH_LITERAL(x) x
#define PRFilePath "s"
#elif defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698