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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 898503002: Timezone auto update option should be available by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update histograms.xml Created 5 years, 11 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 | « chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 72b1c38a0d112c11e146178148ca5053acc781d3..d00be98ca9112547d7bfecc81ee1d8a1ecd39141 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -681,11 +681,11 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
"showWakeOnWifi",
chromeos::WakeOnWifiManager::Get()->WakeOnWifiSupported() &&
chromeos::switches::WakeOnWifiEnabled());
- const bool have_enable_time_zone_tracking_option_switch =
+ const bool have_disable_time_zone_tracking_option_switch =
base::CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kEnableTimeZoneTrackingOption);
+ chromeos::switches::kDisableTimeZoneTrackingOption);
values->SetBoolean("enableTimeZoneTrackingOption",
- have_enable_time_zone_tracking_option_switch &&
+ !have_disable_time_zone_tracking_option_switch &&
!chromeos::system::HasSystemTimezonePolicy());
#endif
}
« no previous file with comments | « chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698