/external/chromium_org/chrome/browser/search/ |
instant_unittest_base.cc | 23 #include "components/search_engines/template_url.h" 63 TemplateURL* template_url = new TemplateURL(data); local 64 // Takes ownership of |template_url|. 65 template_url_service_->Add(template_url); 66 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
|
search_terms_tracker.cc | 9 #include "components/search_engines/template_url.h" 89 TemplateURL* template_url = service->GetDefaultSearchProvider(); local 94 if (template_url->IsSearchURL(entry->GetURL(), 101 template_url->ExtractSearchTermsFromURL(entry->GetURL(),
|
instant_service_unittest.cc | 132 TemplateURL* template_url = new TemplateURL(data); local 133 // Takes ownership of |template_url|. 134 template_url_service_->Add(template_url); 135 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url);
|
instant_service.cc | 395 const TemplateURL* template_url = local 398 template_url, previous_default_search_provider_.get(), 402 template_url ? new TemplateURLData(template_url->data()) : NULL); 412 if (template_url && template_url->HasGoogleBaseURLs(
|
search_unittest.cc | 67 TemplateURL* template_url = new TemplateURL(data); local 68 // Takes ownership of |template_url|. 69 template_url_service->Add(template_url); 70 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); 91 TemplateURL* template_url = new TemplateURL(data); local 92 // Takes ownership of |template_url|. 93 template_url_service->Add(template_url); 94 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); 512 TemplateURL* template_url = new TemplateURL(data); local 513 // Takes ownership of |template_url| [all...] |
/external/chromium_org/chrome/browser/ui/search_engines/ |
edit_search_engine_controller.h | 19 // edits. NOTE: |template_url| is the value supplied to 23 virtual void OnEditedKeyword(TemplateURL* template_url, 36 // The |template_url| and/or |edit_keyword_delegate| may be NULL. 38 TemplateURL* template_url, 67 const TemplateURL* template_url() const { return template_url_; } function in class:EditSearchEngineController
|
/external/chromium_org/chrome/browser/ |
chrome_content_browser_client_unittest.cc | 112 TemplateURL* template_url = new TemplateURL(data); local 114 template_url_service->Add(template_url); 115 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
/external/chromium_org/chrome/browser/autocomplete/ |
history_quick_provider.cc | 37 #include "components/search_engines/template_url.h" 196 // |template_url_service| or |template_url| can be NULL in unit tests. 199 TemplateURL* template_url = template_url_service ? local 212 if (!template_url || 213 !template_url->IsSearchURL(history_match.url_info.url(),
|
keyword_extensions_delegate_impl.cc | 65 const TemplateURL* template_url, 67 DCHECK(template_url); 70 std::string extension_id = template_url->GetExtensionId(); 78 profile_, template_url, remaining_input, &matches()->front()); 95 profile_, template_url->GetExtensionId(), 145 const TemplateURL* template_url( 148 profile_, template_url, remaining_input, &matches()->front()); 164 const TemplateURL* template_url = local 186 template_url, input, keyword.length(),
|
shortcuts_backend_unittest.cc | 106 TemplateURL* template_url = new TemplateURL(data); local 107 // Takes ownership of |template_url|. 108 template_url_service->Add(template_url); 109 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
autocomplete_controller.cc | 28 #include "components/search_engines/template_url.h" 429 TemplateURL* template_url = match->GetTemplateURL( local 431 if (!template_url) 434 match->destination_url = GURL(template_url->url_ref().ReplaceSearchTerms( 576 const TemplateURL* template_url = local 578 if (template_url) { 582 i->description = template_url->AdjustedShortNameForLocaleDirection(); 583 if (template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION) { 630 const TemplateURL* template_url = local 632 if (!template_url || !match->search_terms_args.get() [all...] |
history_quick_provider_unittest.cc | 40 #include "components/search_engines/template_url.h" 697 TemplateURL* template_url = new TemplateURL(data); local 698 template_url_service->Add(template_url); 699 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); [all...] |
/external/chromium_org/chrome/browser/ui/search/ |
instant_test_utils.cc | 68 TemplateURL* template_url = new TemplateURL(data); local 69 service->Add(template_url); // Takes ownership of |template_url|. 70 service->SetUserSelectedDefaultSearchProvider(template_url); 83 TemplateURL* template_url = new TemplateURL(data); local 84 service->Add(template_url); // Takes ownership of |template_url|. 85 service->SetUserSelectedDefaultSearchProvider(template_url);
|
search_ipc_router_unittest.cc | 114 TemplateURL* template_url = new TemplateURL(data); local 115 // Takes ownership of |template_url|. 116 template_url_service->Add(template_url); 117 template_url_service->SetUserSelectedDefaultSearchProvider(template_url); [all...] |
instant_extended_interactive_uitest.cc | 203 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(); local 204 if (!template_url) 209 GURL search(template_url->url_ref().ReplaceSearchTerms( 217 search, template_url->id(), term); [all...] |
search_tab_helper_unittest.cc | 334 TemplateURL* template_url = new TemplateURL(data); variable 335 template_url_service->Add(template_url); 336 template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
/external/chromium_org/components/search_engines/ |
template_url_fetcher.cc | 11 #include "components/search_engines/template_url.h" 239 const TemplateURL* template_url = local 241 if (template_url && (!template_url->safe_for_autoreplace() || 242 template_url->originating_url() == osdd_url))
|
util.cc | 16 #include "components/search_engines/template_url.h" 204 scoped_ptr<TemplateURL> template_url(*i); 206 std::find(template_urls->begin(), template_urls->end(), template_url); 212 service->RemoveKeyword(template_url->id()); 214 removed_keyword_guids->insert(template_url->sync_guid()); 296 TemplateURL* template_url = i->second; local 297 if ((template_url->safe_for_autoreplace()) && 299 (template_url->prepopulate_id() != 301 (template_url->keyword() != default_search_provider->keyword()))) 302 actions.removed_engines.push_back(template_url); [all...] |
/external/chromium_org/chrome/browser/importer/ |
in_process_importer_bridge.cc | 19 #include "components/search_engines/template_url.h" 141 TemplateURL* template_url = TemplateURLParser::Parse( local 144 if (template_url) { 146 search_engine_for_url.find(template_url->url()); 149 std::make_pair(template_url->url(), template_url)).first; 156 iter->second = template_url;
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_service_android.cc | 15 #include "components/search_engines/template_url.h" 58 TemplateURL* template_url = template_urls[selected_index_size_t]; local 59 DCHECK_GT(template_url->prepopulate_id(), 0) << 61 template_url_service_->SetUserSelectedDefaultSearchProvider(template_url); 113 TemplateURL* template_url = template_url_service_->GetTemplateURLs()[index]; local 114 if (!IsPrepopulatedTemplate(template_url) && 115 !template_url->created_by_policy()) 122 env, template_url->short_name()).obj(), 124 env, template_url->keyword()).obj());
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_popup_model.cc | 19 #include "components/search_engines/template_url.h" 251 const TemplateURL* template_url = match.GetTemplateURL(service, false); local 252 if (template_url && 253 (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)) { 255 template_url->GetExtensionId());
|
omnibox_view.cc | 19 #include "components/search_engines/template_url.h" 142 TemplateURL* template_url = local 144 if (template_url) 147 template_url->AdjustedShortNameForLocaleDirection());
|
/external/chromium_org/components/omnibox/ |
base_search_provider.cc | 15 #include "components/search_engines/template_url.h" 106 const TemplateURL* template_url, 119 template_url, search_terms_data, 0, false); 132 TemplateURL* template_url = local 136 if (template_url != NULL) { 137 client_->DeleteMatchingURLsForKeywordFromHistory(template_url->id(), 197 const TemplateURL* template_url, 204 if (!template_url) 206 match.keyword = template_url->keyword(); 251 const TemplateURLRef& search_url = template_url->url_ref() [all...] |
keyword_provider.cc | 17 #include "components/search_engines/template_url.h" 132 const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); local 133 if (template_url && 134 template_url->SupportsReplacement(model->search_terms_data())) { 158 return template_url; 176 const TemplateURL* const template_url = local 178 if (!template_url || 179 !template_url->SupportsReplacement(url_service->search_terms_data())) 183 if ((template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION) && 185 !extensions_delegate_->IsEnabledExtension(template_url->GetExtensionId()) 247 const TemplateURL* template_url = *i; local 279 const TemplateURL* template_url = matches.front(); local [all...] |
keyword_provider_unittest.cc | 13 #include "components/search_engines/template_url.h" 276 TemplateURL* template_url = new TemplateURL(data); local 277 model_->Add(template_url); 278 ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword));
|