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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 136203009: Support auto-reload on errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Clean up nits Created 6 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 52170478c46730b44a1278ada79ff5ecec3eadf7..d3ad3f41e8cc17b8cd2941d0c19ce575fba2db0e 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1634,6 +1634,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
// is initialized correctly.
if (command_line->HasSwitch(switches::kEnableBenchmarking))
DCHECK(command_line->HasSwitch(switches::kEnableStatsTable));
+
+ if (VersionInfo::GetChannel() <= VersionInfo::CHANNEL_DEV)
+ command_line->AppendSwitch(switches::kEnableOfflineAutoReload);
mmenke 2014/02/13 20:42:17 These are usually done with field trials. Also wo
}
std::string ChromeContentBrowserClient::GetApplicationLocale() {

Powered by Google App Engine
This is Rietveld 408576698