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

Unified Diff: chrome/browser/ui/webui/settings/metrics_reporting_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/metrics_reporting_handler.cc
diff --git a/chrome/browser/ui/webui/settings/metrics_reporting_handler.cc b/chrome/browser/ui/webui/settings/metrics_reporting_handler.cc
index 05ec166963cf4abc0b6370b119d30e65232c74ef..06feda9074594d9a515c3045eb181149848b5ce0 100644
--- a/chrome/browser/ui/webui/settings/metrics_reporting_handler.cc
+++ b/chrome/browser/ui/webui/settings/metrics_reporting_handler.cc
@@ -96,10 +96,9 @@ void MetricsReportingHandler::OnPrefChanged(const std::string& pref_name) {
}
void MetricsReportingHandler::SendMetricsReportingChange() {
- CallJavascriptFunction(
- "cr.webUIListenerCallback",
- base::StringValue("metrics-reporting-change"),
- *CreateMetricsReportingDict());
+ CallJavascriptFunction("cr.webUIListenerCallback",
+ base::Value("metrics-reporting-change"),
+ *CreateMetricsReportingDict());
}
} // namespace settings
« no previous file with comments | « chrome/browser/ui/webui/settings/languages_handler.cc ('k') | chrome/browser/ui/webui/settings/people_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698