Searched refs:dict_value (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/test/remoting/
H A Dqunit_browser_test_runner.cc30 base::DictionaryValue* dict_value = NULL; local
31 ASSERT_TRUE(value->GetAsDictionary(&dict_value));
35 ASSERT_TRUE(dict_value->GetBoolean("passed", &passed));
37 ASSERT_TRUE(dict_value->GetString("errorMessage", &error_message));
/external/chromium_org/chrome/browser/prefs/tracked/
H A Dtracked_split_preference.cc28 const base::DictionaryValue* dict_value = NULL; local
29 if (value && !value->GetAsDictionary(&dict_value)) {
33 transaction->StoreSplitHash(pref_path_, dict_value);
39 base::DictionaryValue* dict_value = NULL; local
40 if (!pref_store_contents->GetDictionary(pref_path_, &dict_value) &&
49 transaction->CheckSplitValue(pref_path_, dict_value, &invalid_keys);
60 pref_path_, dict_value, invalid_keys, value_state, reset_action);
71 dict_value->Remove(*it, NULL);
H A Dtracked_preference_validation_delegate.h36 // |dict_value| (which may be NULL) at |pref_path|. |reset_action| indicates
41 const base::DictionaryValue* dict_value,
/external/chromium_org/chrome/browser/prefs/
H A Dproxy_config_dictionary_unittest.cc20 scoped_ptr<base::DictionaryValue> dict_value(
22 ProxyConfigDictionary dict(dict_value.get());
33 scoped_ptr<base::DictionaryValue> dict_value(
35 ProxyConfigDictionary dict(dict_value.get());
46 scoped_ptr<base::DictionaryValue> dict_value(
48 ProxyConfigDictionary dict(dict_value.get());
60 scoped_ptr<base::DictionaryValue> dict_value(
63 ProxyConfigDictionary dict(dict_value.get());
76 scoped_ptr<base::DictionaryValue> dict_value(
78 ProxyConfigDictionary dict(dict_value
[all...]
H A Dpref_hash_calculator_unittest.cc103 scoped_ptr<base::DictionaryValue> dict_value(new base::DictionaryValue);
104 dict_value->Set("a", new base::StringValue("foo"));
105 dict_value->Set("d", new base::ListValue);
106 dict_value->Set("b", new base::DictionaryValue);
107 dict_value->Set("c", new base::StringValue("baz"));
108 dict_value->Set("e", nested_empty_dict.release());
109 dict_value->Set("f", nested_empty_list.release());
121 ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict_value->GetType());
160 "pref.path", dict_value.get(), kExpectedDictValue));
176 everything.Set("dict", dict_value
[all...]
H A Dpref_hash_filter_unittest.cc541 // Ownership of |dict_value| is transfered to |root_dict|.
542 base::DictionaryValue* dict_value = new base::DictionaryValue; local
543 dict_value->SetString("a", "foo");
544 dict_value->SetInteger("b", 1234);
545 root_dict.Set(kSplitPref, dict_value);
556 ASSERT_EQ(dict_value, stored_value.first);
587 base::DictionaryValue* dict_value = new base::DictionaryValue; local
588 dict_value->Set("a", new base::FundamentalValue(true));
593 root_dict.Set(kSplitPref, dict_value);
625 ASSERT_EQ(dict_value, stored_value_spli
684 base::DictionaryValue* dict_value = new base::DictionaryValue; local
753 base::DictionaryValue* dict_value = new base::DictionaryValue; local
806 base::DictionaryValue* dict_value = new base::DictionaryValue; local
925 base::DictionaryValue* dict_value = new base::DictionaryValue; local
[all...]
H A Dpref_hash_calculator.cc51 const base::DictionaryValue* dict_value; local
53 if (value && value->GetAsDictionary(&dict_value)) {
54 canonical_dict_value.reset(dict_value->DeepCopyWithoutEmptyChildren());
H A Dleveldb_pref_store_unittest.cc139 base::DictionaryValue* dict_value; local
140 ASSERT_TRUE(actual_value->GetAsDictionary(&dict_value));
141 dict_value->SetInteger("key2", 30);
260 base::DictionaryValue* dict_value = new base::DictionaryValue; local
261 dict_value->Set("boolean", new base::FundamentalValue(true));
262 scoped_ptr<base::DictionaryValue> golden_dict_value(dict_value->DeepCopy());
263 pref_store_->SetValue("dictionary", dict_value);
H A Dmock_validation_delegate.cc45 const base::DictionaryValue* dict_value,
43 OnSplitPreferenceValidation( const std::string& pref_path, const base::DictionaryValue* dict_value, const std::vector<std::string>& invalid_keys, PrefHashStoreTransaction::ValueState value_state, TrackedPreferenceHelper::ResetAction reset_action) argument
H A Dmock_validation_delegate.h58 const base::DictionaryValue* dict_value,
/external/chromium_org/chromeos/network/
H A Dnetwork_util_unittest.cc119 base::DictionaryValue* dict_value = new base::DictionaryValue(); local
120 dict_value->SetString(shill::kStatusProperty, "available");
121 list.Append(dict_value);
126 dict_value = new base::DictionaryValue();
127 dict_value->SetString(shill::kNetworkIdProperty, "000001");
128 dict_value->SetString(shill::kStatusProperty, "unknown");
129 dict_value->SetString(shill::kTechnologyProperty, "GSM");
130 list.Append(dict_value);
132 dict_value = new base::DictionaryValue();
133 dict_value
[all...]
/external/chromium_org/chrome/browser/ui/app_list/search/common/
H A Ddictionary_data_store.cc73 base::DictionaryValue* dict_value = NULL; local
76 !value->GetAsDictionary(&dict_value) ||
77 !dict_value) {
81 base::DictionaryValue* return_dict = dict_value->DeepCopy();
82 cached_dict_.reset(dict_value);
/external/chromium_org/extensions/common/permissions/
H A Dusb_device_permission_data.cc64 const base::DictionaryValue* dict_value; local
65 if (!value->GetAsDictionary(&dict_value))
69 if (!dict_value->GetInteger(kVendorIdKey, &temp))
75 if (!dict_value->GetInteger(kProductIdKey, &temp))
81 if (!dict_value->GetInteger(kInterfaceIdKey, &temp))
/external/chromium_org/chrome/test/base/
H A Dextension_js_browser_test.cc58 base::DictionaryValue* dict_value = local
62 CHECK(dict_value->GetBoolean("result", &test_result));
63 CHECK(dict_value->GetString("message", &test_result_message));
/external/chromium_org/ash/display/
H A Ddisplay_layout.cc122 base::DictionaryValue* dict_value = NULL; local
123 if (!value->GetAsDictionary(&dict_value) || dict_value == NULL)
127 dict_value->SetString(kPositionKey, position_str);
128 dict_value->SetInteger(kOffsetKey, layout.offset);
129 dict_value->SetBoolean(kMirroredKey, layout.mirrored);
130 dict_value->SetString(kPrimaryIdKey, base::Int64ToString(layout.primary_id));
/external/chromium_org/sync/test/accounts_client/
H A Dtest_accounts_client.cc99 base::DictionaryValue* dict_value; local
100 if (value != NULL && value->GetAsDictionary(&dict_value) &&
101 dict_value != NULL) {
102 dict_value->GetString("username", &session->username);
103 dict_value->GetString("account_space", &session->account_space);
104 dict_value->GetString("session_id", &session->session_id);
105 dict_value->GetString("expiration_time", &session->expiration_time);
/external/chromium_org/base/test/
H A Dvalues_test_util.cc26 const DictionaryValue* dict_value = NULL; local
27 EXPECT_TRUE(value.GetDictionary(key, &dict_value)) << key;
28 EXPECT_TRUE(Value::Equals(dict_value, &expected_value)) << key;
/external/chromium_org/chrome/browser/extensions/
H A Dextension_management_test_util.h86 const base::DictionaryValue* dict_value = NULL; local
87 pref_value->GetAsDictionary(&dict_value);
88 SetPref(dict_value->DeepCopy());
/external/chromium_org/components/policy/core/common/
H A Dmac_util.cc78 scoped_ptr<base::DictionaryValue> dict_value(new base::DictionaryValue());
79 CFDictionaryApplyFunction(dict, DictionaryEntryToValue, dict_value.get());
80 return dict_value.PassAs<base::Value>();
H A Dpolicy_test_utils.cc95 const base::DictionaryValue* dict_value; local
96 if (value->GetAsDictionary(&dict_value)) {
100 dict_value->size(),
103 for (base::DictionaryValue::Iterator iterator(*dict_value);
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dpreference_validation_delegate.h33 const base::DictionaryValue* dict_value,
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_var_dictionary_interface.cc35 FakeDictType& dict = data->dict_value;
52 FakeDictType& dict = data->dict_value;
66 FakeDictType& dict = data->dict_value;
81 FakeDictType& dict = data->dict_value;
92 FakeDictType& dict = data->dict_value;
H A Dfake_var_manager.h24 FakeDictType dict_value; member in struct:FakeVarData
/external/chromium_org/chrome/browser/chromeos/display/
H A Ddisplay_preferences.cc144 const base::DictionaryValue* dict_value = NULL; local
145 if (!it.value().GetAsDictionary(&dict_value) || dict_value == NULL)
157 if (dict_value->GetInteger("rotation", &rotation_value)) {
161 if (dict_value->GetInteger("ui-scale", &ui_scale_value))
165 dict_value->GetInteger("width", &width);
166 dict_value->GetInteger("height", &height);
171 if (dict_value->GetInteger("device-scale-factor", &dsf_value))
175 if (ValueToInsets(*dict_value, &insets))
180 if (dict_value
[all...]
/external/chromium_org/extensions/common/manifest_handlers/
H A Dwebview_info.cc107 const base::DictionaryValue* dict_value = NULL; local
109 &dict_value)) {
115 if (!dict_value->GetList(keys::kWebviewPartitions, &partition_list)) {

Completed in 831 milliseconds

12