Home
last modified time | relevance | path

Searched refs:url_model (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/ui/search_engines/
Dkeyword_editor_controller.cc72 (!url_model()->is_default_search_managed() || in CanEdit()
73 (url != url_model()->GetDefaultSearchProvider())); in CanEdit()
77 return url_model()->CanMakeDefault(url); in CanMakeDefault()
81 return url != url_model()->GetDefaultSearchProvider(); in CanRemove()
94 return url_model()->loaded(); in loaded()
101 TemplateURLService* KeywordEditorController::url_model() const { in url_model() function in KeywordEditorController
Dkeyword_editor_controller.h67 TemplateURLService* url_model() const;
/external/chromium/chrome/browser/ui/search_engines/
Dkeyword_editor_controller.cc82 return !url_model()->is_default_search_managed() || in CanEdit()
83 url != url_model()->GetDefaultSearchProvider(); in CanEdit()
87 return url_model()->CanMakeDefault(url); in CanMakeDefault()
91 return url != url_model()->GetDefaultSearchProvider(); in CanRemove()
105 return url_model()->loaded(); in loaded()
112 TemplateURLModel* KeywordEditorController::url_model() const { in url_model() function in KeywordEditorController
Dsearch_engine_tab_helper.cc157 TemplateURLModel* url_model = in GenerateKeywordIfNecessary() local
159 if (!url_model) in GenerateKeywordIfNecessary()
162 if (!url_model->loaded()) { in GenerateKeywordIfNecessary()
163 url_model->Load(); in GenerateKeywordIfNecessary()
169 if (!url_model->CanReplaceKeyword(keyword, url, &current_url)) in GenerateKeywordIfNecessary()
178 url_model->Remove(current_url); in GenerateKeywordIfNecessary()
199 url_model->Add(new_url); in GenerateKeywordIfNecessary()
Dkeyword_editor_controller.h68 TemplateURLModel* url_model() const;
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_fetcher.cc238 TemplateURLService* url_model = in ScheduleDownload() local
240 if (!url_model) in ScheduleDownload()
249 if (!url_model->loaded()) { in ScheduleDownload()
252 url_model->Load(); in ScheduleDownload()
257 url_model->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_fetcher.cc284 TemplateURLModel* url_model = profile()->GetTemplateURLModel(); in ScheduleDownload() local
285 if (!url_model) in ScheduleDownload()
291 if (!url_model->loaded()) { in ScheduleDownload()
292 url_model->Load(); in ScheduleDownload()
296 url_model->GetTemplateURLForKeyword(keyword); in ScheduleDownload()
/external/chromium/chrome/browser/metrics/
Dmetrics_service.h314 void LogKeywords(const TemplateURLModel* url_model);
Dmetrics_service.cc1652 void MetricsService::LogKeywords(const TemplateURLModel* url_model) { in LogKeywords() argument
1653 DCHECK(url_model); in LogKeywords()
1658 static_cast<int>(url_model->GetTemplateURLs().size())); in LogKeywords()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc2860 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in LoadSearchEngineInfo() local
2861 if (url_model->loaded()) { in LoadSearchEngineInfo()
2865 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in LoadSearchEngineInfo()
2867 url_model->Load(); in LoadSearchEngineInfo()
2876 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in GetSearchEngineInfo() local
2879 std::vector<const TemplateURL*> template_urls = url_model->GetTemplateURLs(); in GetSearchEngineInfo()
2888 (*it) == url_model->GetDefaultSearchProvider()); in GetSearchEngineInfo()
2908 TemplateURLModel* url_model(profile_->GetTemplateURLModel()); in AddOrEditSearchEngine() local
2926 template_url = url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword)); in AddOrEditSearchEngine()
2932 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in AddOrEditSearchEngine()
[all …]
Dautomation_provider_observers.cc1561 TemplateURLModel* url_model = provider_->profile()->GetTemplateURLModel(); in OnTemplateURLModelChanged() local
1562 url_model->RemoveObserver(this); in OnTemplateURLModelChanged()
/external/chromium_org/chrome/browser/automation/
Dtesting_automation_provider.cc2660 TemplateURLService* url_model = in LoadSearchEngineInfo() local
2662 if (url_model->loaded()) { in LoadSearchEngineInfo()
2666 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in LoadSearchEngineInfo()
2668 url_model->Load(); in LoadSearchEngineInfo()
2677 TemplateURLService* url_model = in GetSearchEngineInfo() local
2682 url_model->GetTemplateURLs(); in GetSearchEngineInfo()
2690 (*it) == url_model->GetDefaultSearchProvider()); in GetSearchEngineInfo()
2710 TemplateURLService* url_model = in AddOrEditSearchEngine() local
2729 url_model->GetTemplateURLForKeyword(UTF8ToUTF16(keyword)); in AddOrEditSearchEngine()
2735 url_model->AddObserver(new AutomationProviderSearchEngineObserver( in AddOrEditSearchEngine()
[all …]
/external/chromium/chrome/browser/ui/webui/options/
Dsearch_engine_manager_handler.cc107 list_controller_->url_model()->GetDefaultSearchProvider(); in OnModelChanged()
/external/chromium_org/chrome/browser/ui/webui/options/
Dsearch_engine_manager_handler.cc121 list_controller_->url_model()->GetDefaultSearchProvider(); in OnModelChanged()