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

Unified Diff: mojo/runner/switches.cc

Issue 1179413010: mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sqlite-fs
Patch Set: Have mojo_runner responsible for handling the temporary directory. Created 5 years, 6 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: mojo/runner/switches.cc
diff --git a/mojo/runner/switches.cc b/mojo/runner/switches.cc
index 1ed957ec293d8c21321db76a865f09ccdc0cd32e..2187ddf2b0ca74064099afaa0631648013e05187 100644
--- a/mojo/runner/switches.cc
+++ b/mojo/runner/switches.cc
@@ -40,6 +40,10 @@ const char kMapOrigin[] = "map-origin";
// url_resolver.cc for details.
const char kOrigin[] = "origin";
+// When this is set, we create a temporary user data dir for the process, and
+// add a flag so kUserDataDir points to it.
+const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir";
msw 2015/06/24 23:00:35 nit: abc ordering
+
// Starts tracing when the shell starts up, saving a trace file on disk after 5
// seconds or when the shell exits.
const char kTraceStartup[] = "trace-startup";
@@ -50,4 +54,8 @@ const char kTraceStartup[] = "trace-startup";
// the first maps 'a' to 'b' and the second 'c' to 'd'.
const char kURLMappings[] = "url-mappings";
+// Specifies the user data directory. This is the one directory which stores
+// all persistent data.
+const char kUserDataDir[] = "user-data-dir";
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698