/external/chromium_org/chrome/browser/extensions/api/omnibox/ |
H A D | omnibox_api.cc | 59 const base::DictionaryValue* dict = NULL; local 62 &dict)) { 64 omnibox::SuggestResult::Populate(*dict, suggestion.get()); 79 scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue(); 82 dict->SetWithoutPathExpansion(kSuggestionContent, new base::StringValue("")); 85 dict.release());
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
H A D | settings_apitest.cc | 479 policy::Schema dict = schema->GetKnownProperty("dict-policy"); local 480 ASSERT_TRUE(dict.valid()); 481 ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict.type()); 482 list = dict.GetKnownProperty("list"); 485 dict = list.GetItems(); 486 ASSERT_TRUE(dict.valid()); 487 ASSERT_EQ(base::Value::TYPE_DICTIONARY, dict.type()); 488 ASSERT_TRUE(dict.GetProperty("anything").valid()); 489 EXPECT_EQ(base::Value::TYPE_INTEGER, dict [all...] |
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/ |
H A D | webrtc_audio_private_browsertest.cc | 188 base::DictionaryValue* dict = NULL; local 189 sink_list->GetDictionary(ix, &dict); 191 dict->GetString("sinkId", &sink_id); 206 dict->GetString("sinkLabel", &sink_label); 211 EXPECT_TRUE(dict->HasKey("isDefault")); 212 EXPECT_TRUE(dict->HasKey("isReady")); 213 EXPECT_TRUE(dict->HasKey("sampleRate")); 287 base::DictionaryValue* dict = NULL; local 288 sink_list->GetDictionary(ix, &dict); 290 dict [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_action.cc | 156 const base::DictionaryValue& dict, 163 if (dict.GetBinary(kIconSizes[i].size_string, &image_data)) { 165 } else if (dict.GetString(kIconSizes[i].size_string, &binary_string64)) { 155 ParseIconFromCanvasDictionary( const base::DictionaryValue& dict, gfx::ImageSkia* icon) argument
|
H A D | extension_action_storage_manager.cc | 93 // Set |action|'s default values to those specified in |dict|. 94 void SetDefaultsFromValue(const base::DictionaryValue* dict, argument 103 if (dict->GetString(kPopupUrlStorageKey, &str_value) && 107 if (dict->GetString(kTitleStorageKey, &str_value) && 111 if (dict->GetString(kBadgeTextStorageKey, &str_value) && 115 if (dict->GetString(kBadgeBackgroundColorStorageKey, &str_value) && 120 if (dict->GetString(kBadgeTextColorStorageKey, &str_value) && 124 if (dict->GetInteger(kAppearanceStorageKey, &int_value) && 138 if (dict->GetDictionary(kIconStorageKey, &icon_value) && 158 scoped_ptr<base::DictionaryValue> dict(ne 268 const base::DictionaryValue* dict = NULL; local [all...] |
H A D | extension_function_test_utils.cc | 68 base::DictionaryValue* dict = NULL; local 69 result->GetAsDictionary(&dict); 70 return dict;
|
/external/chromium_org/chrome/browser/net/ |
H A D | pref_proxy_config_tracker_impl.cc | 235 const base::DictionaryValue* dict = local 237 DCHECK(dict); 238 ProxyConfigDictionary proxy_dict(dict);
|
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | resettable_settings_snapshot.cc | 165 base::DictionaryValue dict; local 173 dict.Set(kStartupURLPath, list); 174 dict.SetInteger(kStartupTypePath, snapshot.startup_type()); 178 dict.SetString(kHomepagePath, snapshot.homepage()); 179 dict.SetBoolean(kHomepageIsNewTabPage, snapshot.homepage_is_ntp()); 180 dict.SetBoolean(kShowHomeButton, snapshot.show_home_button()); 184 dict.SetString(kDefaultSearchEnginePath, snapshot.dse_url()); 197 dict.Set(kEnabledExtensions, list); 211 dict.Set(kShortcuts, list); 218 base::JSONWriter::Write(&dict, [all...] |
/external/chromium_org/chrome/browser/ssl/ |
H A D | chrome_ssl_host_state_delegate.cc | 139 // argument dict that is passed in. 148 base::DictionaryValue* dict, 158 bool success = dict->GetInteger(kSSLCertDecisionVersionKey, &version); 163 dict->SetInteger(kSSLCertDecisionVersionKey, 185 if (dict->HasKey(kSSLCertDecisionExpirationTimeKey)) { 188 success = dict->GetString(kSSLCertDecisionExpirationTimeKey, 220 dict->SetString(kSSLCertDecisionExpirationTimeKey, 224 if (dict->HasKey(kSSLCertDecisionGUIDKey)) { 226 success = dict->GetString(kSSLCertDecisionGUIDKey, &old_expiration_guid); 234 dict 147 GetValidCertDecisionsDict( base::DictionaryValue* dict, CreateDictionaryEntriesDisposition create_entries, bool* expired_previous_decision) argument 289 base::DictionaryValue* dict; local [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | permission_request_creator_apiary.cc | 133 base::DictionaryValue dict; local 134 dict.SetStringWithoutPathExpansion("namespace", kNamespace); 135 dict.SetStringWithoutPathExpansion("objectRef", (*it)->url_requested.spec()); 136 dict.SetStringWithoutPathExpansion("state", kState); 138 base::JSONWriter::Write(&dict, &body); 195 base::DictionaryValue* dict = NULL; local 196 if (!value || !value->GetAsDictionary(&dict)) { 201 if (!dict->GetString(kIdKey, &id)) {
|
H A D | supervised_user_refresh_token_fetcher.cc | 223 base::DictionaryValue* dict = NULL; local 224 if (!value.get() || !value->GetAsDictionary(&dict)) { 229 if (!dict->GetString(kCodeKey, &auth_code)) {
|
H A D | supervised_user_service_unittest.cc | 109 base::DictionaryValue* dict = update.Get(); local 110 dict->SetBooleanWithoutPathExpansion(kExampleFooURL.spec(), true); 111 dict->SetBooleanWithoutPathExpansion(kExampleBarURL.spec(), false); 112 dict->SetBooleanWithoutPathExpansion(kExampleFooNoWWWURL.spec(), true); 113 dict->SetBooleanWithoutPathExpansion(kBlurpURL.spec(), true); 137 base::DictionaryValue* dict = update.Get(); local 140 dict->RemoveWithoutPathExpansion(it->spec(), NULL);
|
H A D | supervised_user_settings_service_unittest.cc | 175 base::DictionaryValue dict; local 176 dict.SetString("foo", "bar"); 177 dict.SetBoolean("awesomesauce", true); 178 dict.SetInteger("eaudecologne", 4711); 182 for (base::DictionaryValue::Iterator it(dict); !it.IsAtEnd(); it.Advance()) { 198 EXPECT_TRUE(dict_value->Equals(&dict));
|
H A D | supervised_user_shared_settings_service.cc | 41 DictionaryValue* dict = NULL; local 42 if (!parent->GetDictionaryWithoutPathExpansion(key, &dict)) { 43 dict = new DictionaryValue; 44 parent->SetWithoutPathExpansion(key, dict); 46 return dict; 74 const DictionaryValue* dict = NULL; local 75 if (!dict_value.GetAsDictionary(&dict)) 79 if (!dict->Get(kValue, &value)) 83 dict->GetBoolean(kAcknowledged, &acknowledged); 106 DictionaryValue* dict local 132 const DictionaryValue* dict = NULL; local 217 DictionaryValue* dict = FindOrCreateDictionary(update.Get(), key); local 237 const DictionaryValue* dict = NULL; local 280 const DictionaryValue* dict = NULL; local 305 DictionaryValue* dict = NULL; local [all...] |
H A D | supervised_user_site_list.cc | 207 base::DictionaryValue* dict = NULL; local 208 if (!value->GetAsDictionary(&dict)) { 214 if (!dict->GetInteger(kSitelistFormatVersionKey, &version)) { 225 if (dict->GetList(kSitesKey, &sites)) 229 if (dict->GetDictionary(kCategoriesKey, &categories))
|
H A D | supervised_user_sync_service_unittest.cc | 80 void GetSupervisedUsersCallback(const base::DictionaryValue** dict, argument 82 *dict = supervised_users; 198 base::DictionaryValue* dict = new base::DictionaryValue; local 199 dict->SetString(kNameKey, kName1); 200 supervised_users->Set(kUserId1, dict); 201 dict = new base::DictionaryValue; 202 dict->SetString(kNameKey, kName2); 203 dict->SetBoolean(kAcknowledgedKey, true); 204 supervised_users->Set(kUserId2, dict);
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | history_data_store.cc | 58 scoped_ptr<base::DictionaryValue> dict) { 60 if (!dict->GetStringWithoutPathExpansion(kKeyVersion, &version) || 66 if (!dict->GetDictionaryWithoutPathExpansion(kKeyAssociations, 214 OnLoadedCallback callback, scoped_ptr<base::DictionaryValue> dict) { 215 if (!dict) { 218 callback.Run(Parse(dict.Pass()).Pass()); 57 Parse( scoped_ptr<base::DictionaryValue> dict) argument 213 OnDictionaryLoadedCallback( OnLoadedCallback callback, scoped_ptr<base::DictionaryValue> dict) argument
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | core_chromeos_options_handler.cc | 173 base::DictionaryValue* dict = new base::DictionaryValue; 175 dict->Set("value", CreateUsersWhitelist(pref_value)); 177 dict->Set("value", pref_value->DeepCopy()); 188 dict->SetBoolean("disabled", !controlled_by.empty()); 190 dict->SetString("controlledBy", controlled_by); 191 return dict; 269 base::DictionaryValue* dict = new base::DictionaryValue; local 270 dict->Set("value", pref->GetValue()->DeepCopy()); 271 dict->SetString("controlledBy", "shared"); 272 return dict; [all...] |
H A D | display_options_handler.cc | 79 int GetIntOrDouble(const base::DictionaryValue* dict, argument 82 if (dict->GetDouble(field, &double_result)) 86 dict->GetInteger(field, &result); 90 bool GetFloat(const base::DictionaryValue* dict, argument 94 if (dict->GetDouble(field, &double_result)) { 101 bool ConvertValueToDisplayMode(const base::DictionaryValue* dict, argument 103 mode->size.set_width(GetIntOrDouble(dict, "originalWidth")); 104 mode->size.set_height(GetIntOrDouble(dict, "originalHeight")); 109 if (!GetFloat(dict, "refreshRate", &mode->refresh_rate)) { 113 if (!GetFloat(dict, "scal [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | create_profile_handler.cc | 254 base::DictionaryValue dict; local 255 dict.SetString("name", 257 dict.Set("filePath", base::CreateFilePathValue(profile->GetPath())); 261 dict.SetBoolean("isSupervised", is_supervised); 263 GetJavascriptMethodName(PROFILE_CREATION_SUCCESS), dict); local 420 const base::DictionaryValue* dict = local 423 if (!dict->HasKey(existing_supervised_user_id))
|
H A D | search_engine_manager_handler.cc | 175 // The items which are to be written into |dict| are also described in 179 base::DictionaryValue* dict = new base::DictionaryValue(); local 180 dict->SetString("name", template_url->short_name()); 181 dict->SetString("displayName", table_model->GetText( 183 dict->SetString("keyword", table_model->GetText( 185 dict->SetString("url", template_url->url_ref().DisplayURL( 187 dict->SetBoolean("urlLocked", template_url->prepopulate_id() > 0); 190 dict->SetString("iconURL", icon_url.spec()); 191 dict->SetString("modelIndex", base::IntToString(index)); 193 dict [all...] |
H A D | supervised_user_import_handler.cc | 150 const base::DictionaryValue* dict) { 151 DCHECK(dict); 166 for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { 149 SendExistingSupervisedUsers( const base::DictionaryValue* dict) argument
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
H A D | profile_signin_confirmation_dialog.cc | 189 base::DictionaryValue dict; local 190 dict.SetString("username", username_); 191 dict.SetBoolean("promptForNewProfile", prompt_for_new_profile_); 193 dict.SetBoolean("hideTitle", true); 195 base::JSONWriter::Write(&dict, &data);
|
/external/chromium_org/chrome/browser/web_resource/ |
H A D | promo_resource_service_unittest.cc | 103 base::DictionaryValue* dict = NULL; local 104 value->GetAsDictionary(&dict); 105 ASSERT_TRUE(dict); 106 test_json_.reset(dict);
|
/external/chromium_org/chrome/common/extensions/api/ |
H A D | extension_api_unittest.cc | 810 const base::DictionaryValue* dict; local 814 GetDictionaryFromList(schema, "types", 0, &dict); 815 EXPECT_TRUE(dict->GetString("id", &type)); 817 EXPECT_TRUE(dict->GetString("customBindings", &type)); 819 EXPECT_TRUE(dict->GetDictionary("properties", &sub_dict)); 828 GetDictionaryFromList(schema, "functions", 0, &dict); 829 GetDictionaryFromList(dict, "parameters", 0, &sub_dict); 832 EXPECT_TRUE(dict->GetDictionary("returns", &sub_dict)); 836 GetDictionaryFromList(schema, "functions", 1, &dict); 837 GetDictionaryFromList(dict, "parameter [all...] |