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

Unified Diff: chrome/browser/chromeos/login/helper.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/chromeos/login/helper.cc
diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
index 1b7e3a20983f5a8351882166e38d7c774a5341d6..d8d5a60a0d8427d645e242e440e581104ebac73d 100644
--- a/chrome/browser/chromeos/login/helper.cc
+++ b/chrome/browser/chromeos/login/helper.cc
@@ -170,11 +170,11 @@ void NetworkStateHelper::GetConnectedWifiNetwork(std::string* out_onc_spec) {
std::unique_ptr<base::DictionaryValue> copied_onc(
new base::DictionaryValue());
copied_onc->Set(onc::toplevel_config::kType,
- new base::StringValue(onc::network_type::kWiFi));
+ new base::Value(onc::network_type::kWiFi));
copied_onc->Set(onc::network_config::WifiProperty(onc::wifi::kHexSSID),
- new base::StringValue(hex_ssid));
+ new base::Value(hex_ssid));
copied_onc->Set(onc::network_config::WifiProperty(onc::wifi::kSecurity),
- new base::StringValue(security));
+ new base::Value(security));
base::JSONWriter::Write(*copied_onc.get(), out_onc_spec);
}

Powered by Google App Engine
This is Rietveld 408576698