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 { |