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

Unified Diff: dbus/values_util_unittest.cc

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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: dbus/values_util_unittest.cc
diff --git a/dbus/values_util_unittest.cc b/dbus/values_util_unittest.cc
index 13c496bb1458fa693d5dcaf48ba1753d38754bae..0cc7d9164f85d8ec3caa97dafb78680a31ffdd57 100644
--- a/dbus/values_util_unittest.cc
+++ b/dbus/values_util_unittest.cc
@@ -338,10 +338,9 @@ TEST(ValuesUtilTest, PopDictionaryWithDottedStringKey) {
// Create the expected value.
base::DictionaryValue dictionary_value;
- dictionary_value.SetWithoutPathExpansion(kKey1, new base::Value(kBoolValue));
- dictionary_value.SetWithoutPathExpansion(kKey2, new base::Value(kInt32Value));
- dictionary_value.SetWithoutPathExpansion(kKey3,
- new base::Value(kDoubleValue));
+ dictionary_value.SetBooleanWithoutPathExpansion(kKey1, kBoolValue);
+ dictionary_value.SetIntegerWithoutPathExpansion(kKey2, kInt32Value);
+ dictionary_value.SetDoubleWithoutPathExpansion(kKey3, kDoubleValue);
// Pop a dictinoary.
MessageReader reader(response.get());
« no previous file with comments | « content/browser/service_manager/merge_dictionary.cc ('k') | extensions/browser/api/bluetooth_low_energy/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698