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

Unified Diff: chromeos/dbus/shill_device_client_unittest.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/fake_shill_service_client.cc ('k') | chromeos/dbus/shill_ipconfig_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_device_client_unittest.cc
diff --git a/chromeos/dbus/shill_device_client_unittest.cc b/chromeos/dbus/shill_device_client_unittest.cc
index 0f8214b10ad7ac095b4e6bae2f8d60ce8d25f0b3..fca1bb4eb6941f08e7179c8f3bdaeef31a4a2ceb 100644
--- a/chromeos/dbus/shill_device_client_unittest.cc
+++ b/chromeos/dbus/shill_device_client_unittest.cc
@@ -82,7 +82,7 @@ TEST_F(ShillDeviceClientTest, PropertyChanged) {
writer.AppendVariantOfBool(kValue);
// Set expectations.
- const base::FundamentalValue value(kValue);
+ const base::Value value(kValue);
MockPropertyChangeObserver observer;
EXPECT_CALL(observer,
OnPropertyChanged(shill::kCellularAllowRoamingProperty,
@@ -126,7 +126,7 @@ TEST_F(ShillDeviceClientTest, GetProperties) {
// Set expectations.
base::DictionaryValue value;
value.SetWithoutPathExpansion(shill::kCellularAllowRoamingProperty,
- new base::FundamentalValue(kValue));
+ new base::Value(kValue));
PrepareForMethodCall(shill::kGetPropertiesFunction,
base::Bind(&ExpectNoArgument),
response.get());
@@ -158,7 +158,7 @@ TEST_F(ShillDeviceClientTest, SetProperty) {
std::unique_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
// Set expectations.
- const base::FundamentalValue value(kValue);
+ const base::Value value(kValue);
PrepareForMethodCall(shill::kSetPropertyFunction,
base::Bind(&ExpectStringAndValueArguments,
shill::kCellularAllowRoamingProperty,
« no previous file with comments | « chromeos/dbus/fake_shill_service_client.cc ('k') | chromeos/dbus/shill_ipconfig_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698