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

Unified Diff: chrome/browser/ui/webui/settings/safe_browsing_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/safe_browsing_handler.cc
diff --git a/chrome/browser/ui/webui/settings/safe_browsing_handler.cc b/chrome/browser/ui/webui/settings/safe_browsing_handler.cc
index 918dcf9122146735043bd93c1eee3975527b27f9..1490781199c587998e6d4d0caaa021a2a1064edb 100644
--- a/chrome/browser/ui/webui/settings/safe_browsing_handler.cc
+++ b/chrome/browser/ui/webui/settings/safe_browsing_handler.cc
@@ -64,9 +64,9 @@ void SafeBrowsingHandler::OnPrefChanged(const std::string& pref_name) {
pref_name == prefs::kSafeBrowsingScoutReportingEnabled);
base::Value is_enabled(safe_browsing::IsExtendedReportingEnabled(*prefs_));
- CallJavascriptFunction(
- "cr.webUIListenerCallback",
- base::StringValue("safe-browsing-extended-reporting-change"), is_enabled);
+ CallJavascriptFunction("cr.webUIListenerCallback",
+ base::Value("safe-browsing-extended-reporting-change"),
+ is_enabled);
}
} // namespace settings
« no previous file with comments | « chrome/browser/ui/webui/settings/reset_settings_handler.cc ('k') | chrome/browser/ui/webui/settings/search_engines_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698