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

Unified Diff: chrome/browser/ui/webui/settings/downloads_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/downloads_handler.cc
diff --git a/chrome/browser/ui/webui/settings/downloads_handler.cc b/chrome/browser/ui/webui/settings/downloads_handler.cc
index 4cbb9ac4386fb4b42d855e4326325b5a80c6edce..7eacb6491b4405f9f7db5df7d5173cc8464c68c1 100644
--- a/chrome/browser/ui/webui/settings/downloads_handler.cc
+++ b/chrome/browser/ui/webui/settings/downloads_handler.cc
@@ -68,7 +68,7 @@ void DownloadsHandler::SendAutoOpenDownloadsToJavascript() {
bool auto_open_downloads =
manager && DownloadPrefs::FromDownloadManager(manager)->IsAutoOpenUsed();
CallJavascriptFunction("cr.webUIListenerCallback",
- base::StringValue("auto-open-downloads-changed"),
+ base::Value("auto-open-downloads-changed"),
base::Value(auto_open_downloads));
}
« no previous file with comments | « chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc ('k') | chrome/browser/ui/webui/settings/font_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698