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

Unified Diff: chrome/browser/chromeos/net/wake_on_wifi_manager.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/net/wake_on_wifi_manager.cc
diff --git a/chrome/browser/chromeos/net/wake_on_wifi_manager.cc b/chrome/browser/chromeos/net/wake_on_wifi_manager.cc
index b982663a40b80683ab131d922594825d8a6efeef..f5f29450f405b159e34b051375dae5c10ccb7017 100644
--- a/chrome/browser/chromeos/net/wake_on_wifi_manager.cc
+++ b/chrome/browser/chromeos/net/wake_on_wifi_manager.cc
@@ -180,10 +180,8 @@ void WakeOnWifiManager::HandleWakeOnWifiFeatureUpdated() {
DCHECK(!feature_string.empty());
NetworkHandler::Get()->network_device_handler()->SetDeviceProperty(
- device->path(),
- shill::kWakeOnWiFiFeaturesEnabledProperty,
- base::StringValue(feature_string),
- base::Bind(&base::DoNothing),
+ device->path(), shill::kWakeOnWiFiFeaturesEnabledProperty,
+ base::Value(feature_string), base::Bind(&base::DoNothing),
network_handler::ErrorCallback());
bool wake_on_packet_enabled = IsWakeOnPacketEnabled(current_feature_);

Powered by Google App Engine
This is Rietveld 408576698