/external/chromium_org/components/search_engines/ |
default_search_pref_test_util.cc | 25 value->SetBoolean(DefaultSearchManager::kDisabledByPolicy, true); 31 value->Set(DefaultSearchManager::kShortName, 33 value->Set(DefaultSearchManager::kKeyword, 35 value->Set(DefaultSearchManager::kURL, 37 value->Set(DefaultSearchManager::kSuggestionsURL, 39 value->Set(DefaultSearchManager::kFaviconURL, 41 value->Set(DefaultSearchManager::kSearchTermsReplacementKey, 52 value->Set(DefaultSearchManager::kInputEncodings, encodings_list.release()); 57 value->Set(DefaultSearchManager::kAlternateURLs,
|
default_search_manager.cc | 37 const char DefaultSearchManager::kDefaultSearchProviderDataPrefName[] = 40 const char DefaultSearchManager::kID[] = "id"; 41 const char DefaultSearchManager::kShortName[] = "short_name"; 42 const char DefaultSearchManager::kKeyword[] = "keyword"; 43 const char DefaultSearchManager::kPrepopulateID[] = "prepopulate_id"; 44 const char DefaultSearchManager::kSyncGUID[] = "synced_guid"; 46 const char DefaultSearchManager::kURL[] = "url"; 47 const char DefaultSearchManager::kSuggestionsURL[] = "suggestions_url"; 48 const char DefaultSearchManager::kInstantURL[] = "instant_url"; 49 const char DefaultSearchManager::kImageURL[] = "image_url" [all...] |
default_search_manager_unittest.cc | 89 entry->SetString(DefaultSearchManager::kShortName, data->short_name); 90 entry->SetString(DefaultSearchManager::kKeyword, data->keyword()); 91 entry->SetString(DefaultSearchManager::kURL, data->url()); 92 entry->SetString(DefaultSearchManager::kFaviconURL, data->favicon_url.spec()); 93 entry->SetString(DefaultSearchManager::kSuggestionsURL, 95 entry->SetBoolean(DefaultSearchManager::kSafeForAutoReplace, 104 entry->Set(DefaultSearchManager::kAlternateURLs, alternate_urls.release()); 113 entry->Set(DefaultSearchManager::kInputEncodings, encodings.release()); 115 entry->SetString(DefaultSearchManager::kSearchTermsReplacementKey, 117 entry->SetBoolean(DefaultSearchManager::kDisabledByPolicy, !enabled) [all...] |
default_search_manager.h | 25 // DefaultSearchManager handles the loading and writing of the user's default 27 class DefaultSearchManager { 71 DefaultSearchManager(PrefService* pref_service, 74 ~DefaultSearchManager(); 161 DISALLOW_COPY_AND_ASSIGN(DefaultSearchManager);
|
default_search_policy_handler.cc | 111 {key::kDefaultSearchProviderName, DefaultSearchManager::kShortName, 113 {key::kDefaultSearchProviderKeyword, DefaultSearchManager::kKeyword, 115 {key::kDefaultSearchProviderSearchURL, DefaultSearchManager::kURL, 118 DefaultSearchManager::kSuggestionsURL, base::Value::TYPE_STRING}, 119 {key::kDefaultSearchProviderInstantURL, DefaultSearchManager::kInstantURL, 121 {key::kDefaultSearchProviderIconURL, DefaultSearchManager::kFaviconURL, 124 DefaultSearchManager::kInputEncodings, base::Value::TYPE_LIST}, 126 DefaultSearchManager::kAlternateURLs, base::Value::TYPE_LIST}, 128 DefaultSearchManager::kSearchTermsReplacementKey, 130 {key::kDefaultSearchProviderImageURL, DefaultSearchManager::kImageURL [all...] |
default_search_policy_handler_unittest.cc | 14 // TODO(caitkp): Should we find a way to route this through DefaultSearchManager 359 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kURL, &value)); 361 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kShortName, &value)); 363 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kKeyword, &value)); 367 dictionary->GetString(DefaultSearchManager::kSuggestionsURL, &value)); 369 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kFaviconURL, &value)); 377 dictionary->GetList(DefaultSearchManager::kInputEncodings, &list_value)); 381 dictionary->GetList(DefaultSearchManager::kAlternateURLs, &list_value)); 385 DefaultSearchManager::kSearchTermsReplacementKey, &value)); 388 EXPECT_TRUE(dictionary->GetString(DefaultSearchManager::kImageURL, &value)) [all...] |
default_search_pref_test_util.h | 45 DefaultSearchManager::kDefaultSearchProviderDataPrefName, 56 DefaultSearchManager::kDefaultSearchProviderDataPrefName);
|
template_url_service.h | 243 return default_search_provider_source_ == DefaultSearchManager::FROM_POLICY; 449 // Called by DefaultSearchManager when the effective default search engine has 452 DefaultSearchManager::Source source); 456 DefaultSearchManager::Source source); 462 DefaultSearchManager::Source source); 637 // DefaultSearchManager, which might change the effective default search 703 DefaultSearchManager::Source default_search_provider_source_; [all...] |
template_url_service.cc | 687 ((default_search_provider_source_ == DefaultSearchManager::FROM_USER) || 689 DefaultSearchManager::FROM_FALLBACK)) && 702 // Skip the DefaultSearchManager, which will persist to user preferences. 703 if ((default_search_provider_source_ == DefaultSearchManager::FROM_USER) || 705 DefaultSearchManager::FROM_FALLBACK)) { 707 DefaultSearchManager::FROM_USER); 710 // We rely on the DefaultSearchManager to call OnDefaultSearchChange if, in 733 DefaultSearchManager::FROM_EXTENSION; 740 if ((default_search_provider_source_ == DefaultSearchManager::FROM_USER) || 742 DefaultSearchManager::FROM_FALLBACK)) [all...] |
template_url_service_unittest.cc | 180 DefaultSearchManager::SetFallbackSearchEnginesDisabledForTesting(true); 186 DefaultSearchManager::SetFallbackSearchEnginesDisabledForTesting(false); [all...] |
template_url_service_sync_unittest.cc | 230 DefaultSearchManager::SetFallbackSearchEnginesDisabledForTesting(true); 243 DefaultSearchManager::SetFallbackSearchEnginesDisabledForTesting(false); [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
default_search_pref_migration_unittest.cc | 35 DefaultSearchManager* default_search_manager() { 42 scoped_ptr<DefaultSearchManager> default_search_manager_; 53 default_search_manager_.reset(new DefaultSearchManager( 54 profile_->GetPrefs(), DefaultSearchManager::ObserverCallback())); 80 DefaultSearchManager::Source source; 84 EXPECT_EQ(DefaultSearchManager::FROM_USER, source); 101 DefaultSearchManager::Source source; 105 EXPECT_EQ(DefaultSearchManager::FROM_USER, source); 117 EXPECT_EQ(DefaultSearchManager::FROM_FALLBACK, source); 136 DefaultSearchManager::Source source [all...] |
default_search_pref_migration.cc | 59 DefaultSearchManager default_search_manager( 60 pref_service, DefaultSearchManager::ObserverCallback()); 61 DefaultSearchManager::Source modern_source; 64 if (modern_source == DefaultSearchManager::FROM_FALLBACK) {
|
template_url_service_factory.cc | 78 DefaultSearchManager::RegisterProfilePrefs(registry);
|
/external/chromium_org/chrome/browser/prefs/tracked/ |
pref_hash_browsertest.cc | 500 DefaultSearchManager default_search_manager( 501 profile()->GetPrefs(), DefaultSearchManager::ObserverCallback()); 502 DefaultSearchManager::Source dse_source = 503 static_cast<DefaultSearchManager::Source>(-1); 507 EXPECT_EQ(DefaultSearchManager::FROM_FALLBACK, dse_source); 513 EXPECT_EQ(DefaultSearchManager::FROM_USER, dse_source); 580 DefaultSearchManager default_search_manager( 581 profile()->GetPrefs(), DefaultSearchManager::ObserverCallback()); 582 DefaultSearchManager::Source dse_source = 583 static_cast<DefaultSearchManager::Source>(-1) [all...] |
/external/chromium_org/chrome/browser/prefs/ |
chrome_pref_service_factory.cc | 164 14, DefaultSearchManager::kDefaultSearchProviderDataPrefName, 311 data.name == DefaultSearchManager::kDefaultSearchProviderDataPrefName) {
|
/external/chromium_org/chrome/browser/profile_resetter/ |
automatic_profile_resetter_delegate_unittest.cc | 99 DefaultSearchManager::kDefaultSearchProviderDataPrefName);
|