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

Unified Diff: chromeos/network/network_device_handler_impl.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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
« no previous file with comments | « chromeos/dbus/shill_service_client_unittest.cc ('k') | chromeos/network/network_device_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_device_handler_impl.cc
diff --git a/chromeos/network/network_device_handler_impl.cc b/chromeos/network/network_device_handler_impl.cc
index 76dc05b54e12a16f23c1b53479e4edda2a730b33..d9213e5755861c18fa1317c81c119673c43bb37d 100644
--- a/chromeos/network/network_device_handler_impl.cc
+++ b/chromeos/network/network_device_handler_impl.cc
@@ -566,11 +566,10 @@ void NetworkDeviceHandlerImpl::ApplyCellularAllowRoamingToShill() {
if (new_device_value == current_allow_roaming)
continue;
- SetDevicePropertyInternal(device_state->path(),
- shill::kCellularAllowRoamingProperty,
- base::FundamentalValue(new_device_value),
- base::Bind(&base::DoNothing),
- network_handler::ErrorCallback());
+ SetDevicePropertyInternal(
+ device_state->path(), shill::kCellularAllowRoamingProperty,
+ base::Value(new_device_value), base::Bind(&base::DoNothing),
+ network_handler::ErrorCallback());
}
}
@@ -585,7 +584,7 @@ void NetworkDeviceHandlerImpl::ApplyMACAddressRandomizationToShill() {
SetDevicePropertyInternal(
device_state->path(), shill::kMACAddressRandomizationProperty,
- base::FundamentalValue(mac_addr_randomization_enabled_),
+ base::Value(mac_addr_randomization_enabled_),
base::Bind(&base::DoNothing),
base::Bind(
&NetworkDeviceHandlerImpl::SetMACAddressRandomizationErrorCallback,
« no previous file with comments | « chromeos/dbus/shill_service_client_unittest.cc ('k') | chromeos/network/network_device_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698