/external/chromium_org/chrome/browser/search_engines/ |
D | template_url_service_android.cc | 35 template_url_service_( in TemplateUrlServiceAndroid() 38 template_url_service_->RegisterOnLoadedCallback( in TemplateUrlServiceAndroid() 47 template_url_service_->Load(); in Load() 54 template_url_service_->GetTemplateURLs(); in SetDefaultSearchProvider() 62 template_url_service_->SetDefaultSearchProvider(template_url); in SetDefaultSearchProvider() 68 template_url_service_->GetTemplateURLs(); in GetDefaultSearchProvider() 70 template_url_service_->GetDefaultSearchProvider(); in GetDefaultSearchProvider() 79 return template_url_service_->loaded(); in IsLoaded() 83 return template_url_service_->GetTemplateURLs().size(); in GetTemplateUrlCount() 88 return template_url_service_->is_default_search_managed(); in IsSearchProviderManaged() [all …]
|
D | template_url_service_android.h | 55 TemplateURLService* template_url_service_; variable
|
/external/chromium_org/chrome/browser/ui/search_engines/ |
D | template_url_table_model.cc | 127 template_url_service_(template_url_service) { in TemplateURLTableModel() 129 template_url_service_->Load(); in TemplateURLTableModel() 130 template_url_service_->AddObserver(this); in TemplateURLTableModel() 135 template_url_service_->RemoveObserver(this); in ~TemplateURLTableModel() 145 template_url_service_->GetTemplateURLs(); in Reload() 195 return (template_url_service_->GetDefaultSearchProvider() == url) ? in GetText() 252 template_url_service_->RemoveObserver(this); in Remove() 259 template_url_service_->Remove(template_url); in Remove() 260 template_url_service_->AddObserver(this); in Remove() 269 template_url_service_->RemoveObserver(this); in Add() [all …]
|
D | template_url_table_model.h | 95 return template_url_service_; in template_url_service() 126 TemplateURLService* template_url_service_; variable
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | automatic_profile_resetter_delegate.cc | 114 template_url_service_(TemplateURLServiceFactory::GetForProfile(profile_)), in AutomaticProfileResetterDelegateImpl() 117 if (template_url_service_) { in AutomaticProfileResetterDelegateImpl() 118 template_url_service_->AddObserver(this); in AutomaticProfileResetterDelegateImpl() 138 if (template_url_service_) in ~AutomaticProfileResetterDelegateImpl() 139 template_url_service_->RemoveObserver(this); in ~AutomaticProfileResetterDelegateImpl() 160 DCHECK(template_url_service_); in LoadTemplateURLServiceIfNeeded() 161 template_url_service_->Load(); // Safe to call even if it has loaded already. in LoadTemplateURLServiceIfNeeded() 212 DCHECK(template_url_service_); in GetDefaultSearchProviderDetails() 213 DCHECK(template_url_service_->loaded()); in GetDefaultSearchProviderDetails() 216 template_url_service_->GetDefaultSearchProvider(); in GetDefaultSearchProviderDetails() [all …]
|
D | profile_resetter.cc | 28 template_url_service_(TemplateURLServiceFactory::GetForProfile(profile_)), in ProfileResetter() 113 DCHECK(template_url_service_); in ResetDefaultSearchEngine() 116 if (template_url_service_->loaded()) { in ResetDefaultSearchEngine() 129 template_url_service_->RepairPrepopulatedSearchEngines(); in ResetDefaultSearchEngine() 134 template_url_service_->GetDefaultSearchProvider(); in ResetDefaultSearchEngine() 142 template_url_service_->RegisterOnLoadedCallback( in ResetDefaultSearchEngine() 145 template_url_service_->Load(); in ResetDefaultSearchEngine()
|
D | profile_resetter.h | 77 TemplateURLService* template_url_service_; variable
|
D | automatic_profile_resetter_delegate.h | 186 TemplateURLService* template_url_service_; variable
|
/external/chromium_org/chrome/browser/search/ |
D | instant_unittest_base.cc | 52 template_url_service_ = TemplateURLServiceFactory::GetForProfile(profile()); in SetUpHelper() 53 ui_test_utils::WaitForTemplateURLServiceToLoad(template_url_service_); in SetUpHelper() 81 template_url_service_->Add(template_url); in SetDefaultSearchProvider() 82 template_url_service_->SetDefaultSearchProvider(template_url); in SetDefaultSearchProvider()
|
D | instant_service_unittest.cc | 150 template_url_service_->Add(template_url); in TEST_F() 151 template_url_service_->SetDefaultSearchProvider(template_url); in TEST_F()
|
D | instant_unittest_base.h | 46 TemplateURLService* template_url_service_; variable
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | browser_options_handler.cc | 154 template_url_service_(NULL), in BrowserOptionsHandler() 190 if (template_url_service_) in ~BrowserOptionsHandler() 191 template_url_service_->RemoveObserver(this); in ~BrowserOptionsHandler() 1002 if (!template_url_service_ || !template_url_service_->loaded()) in OnTemplateURLServiceChanged() 1006 template_url_service_->GetDefaultSearchProvider(); in OnTemplateURLServiceChanged() 1011 template_url_service_->GetTemplateURLs()); in OnTemplateURLServiceChanged() 1029 template_url_service_->is_default_search_managed() || in OnTemplateURLServiceChanged() 1030 template_url_service_->IsExtensionControlledDefaultSearch())); in OnTemplateURLServiceChanged() 1041 template_url_service_->GetTemplateURLs()); in SetDefaultSearchEngine() 1044 template_url_service_->SetDefaultSearchProvider(model_urls[selected_index]); in SetDefaultSearchEngine() [all …]
|
D | browser_options_handler.h | 308 TemplateURLService* template_url_service_; // Weak. variable
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | zero_suggest_provider.cc | 160 template_url_service_->GetDefaultSearchProvider(); in StartZeroSuggest() 170 template_url_service_->GetDefaultSearchProvider(), in StartZeroSuggest() 187 template_url_service_(TemplateURLServiceFactory::GetForProfile(profile)), in ZeroSuggestProvider() 384 template_url_service_->GetDefaultSearchProvider(), in ParseSuggestResults() 397 template_url_service_->GetDefaultSearchProvider(); in ConvertResultsToAutocompleteMatches()
|
D | zero_suggest_provider.h | 150 TemplateURLService* template_url_service_; variable
|
D | search_provider.h | 167 TemplateURLService* template_url_service() { return template_url_service_; } in template_url_service() 179 TemplateURLService* template_url_service_;
|
D | search_provider.cc | 225 : template_url_service_(template_url_service) { in Providers() 230 template_url_service_->GetTemplateURLForKeyword(default_provider_); in GetDefaultProviderURL() 235 template_url_service_->GetTemplateURLForKeyword(keyword_provider_); in GetKeywordProviderURL()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | location_bar_view.cc | 220 template_url_service_(NULL), in LocationBarView() 248 if (template_url_service_) in ~LocationBarView() 249 template_url_service_->RemoveObserver(this); in ~LocationBarView() 1205 template_url_service_ = url_service; in ShowFirstRunBubble() 1206 template_url_service_->AddObserver(this); in ShowFirstRunBubble() 1207 template_url_service_->Load(); in ShowFirstRunBubble() 1318 template_url_service_->RemoveObserver(this); in OnTemplateURLServiceChanged() 1319 template_url_service_ = NULL; in OnTemplateURLServiceChanged()
|
D | location_bar_view.h | 523 TemplateURLService* template_url_service_; variable
|