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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/ui/webui/settings/chromeos/date_time_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc b/chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc
index 605e28d80fe040a53ebaed736c773be648050cba..e21f0106262900163a7dd2f5e288bab4afd6cf38 100644
--- a/chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc
@@ -171,13 +171,13 @@ void DateTimeHandler::NotifyTimezoneAutomaticDetectionPolicy() {
->ShouldApplyResolvedTimezone();
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("time-zone-auto-detect-policy"),
+ base::Value("time-zone-auto-detect-policy"),
base::Value(managed), base::Value(force_enabled));
}
void DateTimeHandler::SystemClockCanSetTimeChanged(bool can_set_time) {
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("can-set-date-time-changed"),
+ base::Value("can-set-date-time-changed"),
base::Value(can_set_time));
}

Powered by Google App Engine
This is Rietveld 408576698