Home
last modified time | relevance | path

Searched refs:template_url_service_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_service_android.cc35 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 …]
Dtemplate_url_service_android.h55 TemplateURLService* template_url_service_; variable
/external/chromium_org/chrome/browser/ui/search_engines/
Dtemplate_url_table_model.cc127 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 …]
Dtemplate_url_table_model.h95 return template_url_service_; in template_url_service()
126 TemplateURLService* template_url_service_; variable
/external/chromium_org/chrome/browser/profile_resetter/
Dautomatic_profile_resetter_delegate.cc114 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 …]
Dprofile_resetter.cc28 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()
Dprofile_resetter.h77 TemplateURLService* template_url_service_; variable
Dautomatic_profile_resetter_delegate.h186 TemplateURLService* template_url_service_; variable
/external/chromium_org/chrome/browser/search/
Dinstant_unittest_base.cc52 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()
Dinstant_service_unittest.cc150 template_url_service_->Add(template_url); in TEST_F()
151 template_url_service_->SetDefaultSearchProvider(template_url); in TEST_F()
Dinstant_unittest_base.h46 TemplateURLService* template_url_service_; variable
/external/chromium_org/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc154 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 …]
Dbrowser_options_handler.h308 TemplateURLService* template_url_service_; // Weak. variable
/external/chromium_org/chrome/browser/autocomplete/
Dzero_suggest_provider.cc160 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()
Dzero_suggest_provider.h150 TemplateURLService* template_url_service_; variable
Dsearch_provider.h167 TemplateURLService* template_url_service() { return template_url_service_; } in template_url_service()
179 TemplateURLService* template_url_service_;
Dsearch_provider.cc225 : 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/
Dlocation_bar_view.cc220 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()
Dlocation_bar_view.h523 TemplateURLService* template_url_service_; variable