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

Unified Diff: shell/switches.cc

Issue 1354623002: Force offline by default for warm benchmarks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « shell/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/switches.cc
diff --git a/shell/switches.cc b/shell/switches.cc
index 2d61e367583af30dd7aecc33b267be5e1e564b82..4c0252336bf356821ac6ed46436fa328dec638b3 100644
--- a/shell/switches.cc
+++ b/shell/switches.cc
@@ -46,6 +46,9 @@ const char kEnableMultiprocess[] = "enable-multiprocess";
// --force-in-process=mojo:native_viewport_service,mojo:network_service
const char kForceInProcess[] = "force-in-process";
+// Forces offline by default mode, even for local URLs.
+const char kForceOfflineByDefault[] = "force-offline-by-default";
+
// Print the usage message and exit.
const char kHelp[] = "help";
@@ -84,6 +87,7 @@ const char* kSwitchArray[] = {kV,
kDontDeleteOnDownload,
kEnableMultiprocess,
kForceInProcess,
+ kForceOfflineByDefault,
kHelp,
kMapOrigin,
kOrigin,
« no previous file with comments | « shell/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698