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

Unified Diff: storage/browser/fileapi/dump_file_system.cc

Issue 816293002: Fix dump_file_system compilation on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/dump_file_system.cc
diff --git a/storage/browser/fileapi/dump_file_system.cc b/storage/browser/fileapi/dump_file_system.cc
index 0c999c81e2a7ab79a1206059c3e2faac1e834a46..f9afd7326f3fbed0b69245d387107082768846fe 100644
--- a/storage/browser/fileapi/dump_file_system.cc
+++ b/storage/browser/fileapi/dump_file_system.cc
@@ -51,7 +51,7 @@
namespace {
bool g_opt_long;
-const char* g_opt_fs_type = "p";
+const base::FilePath::CharType* g_opt_fs_type = FILE_PATH_LITERAL("p");
Slava Chigrin 2014/12/21 20:19:03 Need to change variable type due to origin_dir.App
void ShowMessageAndExit(const std::string& msg) {
fprintf(stderr, "%s\n", msg.c_str());
@@ -188,11 +188,11 @@ int main(int argc, char* argv[]) {
argc--;
argv++;
} else if (std::string(argv[1]) == "-t") {
- g_opt_fs_type = "t";
+ g_opt_fs_type = FILE_PATH_LITERAL("t");
argc--;
argv++;
} else if (std::string(argv[1]) == "-s") {
- g_opt_fs_type = "s";
+ g_opt_fs_type = FILE_PATH_LITERAL("s");
argc--;
argv++;
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698