| 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 293df39624fa2c7b9a48d7edbe74be8207f62b31..c0dc0fe24d214a3f986ba8d52d361f43d9b2a69e 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -1548,6 +1548,17 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| #endif
|
| }
|
|
|
| + {
|
| + // Enable auto-reload if this session is in the field trial or the user
|
| + // explicitly enabled it.
|
| + std::string group =
|
| + base::FieldTrialList::FindFullName("AutoReloadExperiment");
|
| + if (group == "Enabled" ||
|
| + browser_command_line.HasSwitch(switches::kEnableOfflineAutoReload)) {
|
| + command_line->AppendSwitch(switches::kEnableOfflineAutoReload);
|
| + }
|
| + }
|
| +
|
| // Please keep this in alphabetical order.
|
| static const char* const kSwitchNames[] = {
|
| autofill::switches::kDisableIgnoreAutocompleteOff,
|
| @@ -1577,7 +1588,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| switches::kEnableNaClDebug,
|
| switches::kEnableNaClNonSfiMode,
|
| switches::kEnableNetBenchmarking,
|
| - switches::kEnableOfflineAutoReload,
|
| switches::kEnableStreamlinedHostedApps,
|
| switches::kEnableWatchdog,
|
| switches::kMemoryProfiling,
|
|
|