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

Unified Diff: chrome/browser/ui/webui/options/chromeos/core_chromeos_options_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/options/chromeos/core_chromeos_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
index 1133bfc3e10b2a18f6922bf601b6f41767c4ef65..36f99585bf656141f55a96f12f04e1d48a593630 100644
--- a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
@@ -254,7 +254,7 @@ void CoreChromeOSOptionsHandler::SetPref(const std::string& pref_name,
if (proxy_cros_settings_parser::IsProxyPref(pref_name)) {
proxy_cros_settings_parser::SetProxyPrefValue(
network_guid_, pref_name, value, GetUiProxyConfigService());
- base::StringValue proxy_type(pref_name);
+ base::Value proxy_type(pref_name);
web_ui()->CallJavascriptFunctionUnsafe(
"options.internet.DetailsInternetPage.updateProxySettings", proxy_type);
ProcessUserMetric(value, metric);

Powered by Google App Engine
This is Rietveld 408576698