Home
last modified time | relevance | path

Searched refs:existing_url (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/search_engines/
Dutil.cc103 TemplateURL* existing_url = NULL; in MergeEnginesFromPrepopulateData() local
106 existing_url = existing_url_iter->second; in MergeEnginesFromPrepopulateData()
107 if (!existing_url->safe_for_autoreplace()) { in MergeEnginesFromPrepopulateData()
110 prepopulated_url->set_keyword(existing_url->keyword()); in MergeEnginesFromPrepopulateData()
112 existing_url->autogenerate_keyword()); in MergeEnginesFromPrepopulateData()
113 prepopulated_url->set_short_name(existing_url->short_name()); in MergeEnginesFromPrepopulateData()
115 prepopulated_url->set_id(existing_url->id()); in MergeEnginesFromPrepopulateData()
117 *existing_url = *prepopulated_url; in MergeEnginesFromPrepopulateData()
119 service->UpdateKeyword(*existing_url); in MergeEnginesFromPrepopulateData()
123 existing_url = prepopulated_url.get(); in MergeEnginesFromPrepopulateData()
[all …]
Dtemplate_url_fetcher.cc169 const TemplateURL* existing_url; in AddSearchProvider() local
173 &existing_url)) { in AddSearchProvider()
180 existing_url = NULL; in AddSearchProvider()
196 &existing_url)) { in AddSearchProvider()
200 existing_url = NULL; in AddSearchProvider()
221 if (existing_url) in AddSearchProvider()
222 model->Remove(existing_url); in AddSearchProvider()
Dtemplate_url_model.cc220 const TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); in CanReplaceKeyword() local
221 if (existing_url) { in CanReplaceKeyword()
225 *template_url_to_replace = existing_url; in CanReplaceKeyword()
226 return CanReplace(existing_url); in CanReplaceKeyword()
332 const TemplateURL* existing_url = GetTemplateURLForExtension(extension); in RegisterExtensionKeyword() local
345 if (existing_url) { in RegisterExtensionKeyword()
348 UpdateNoNotify(existing_url, *template_url); in RegisterExtensionKeyword()
/external/chromium/chrome/browser/history/
Dhistory_unittest.cc577 const GURL existing_url("http://www.google.com/"); in TEST_F() local
578 history->AddPage(existing_url, history::SOURCE_BROWSED); in TEST_F()
582 history->SetPageTitle(existing_url, existing_title); in TEST_F()
585 EXPECT_TRUE(QueryURL(history, existing_url)); in TEST_F()
610 const GURL existing_url("http://www.google.com/"); in TEST_F() local
611 history->AddPage(existing_url, scope, 0, GURL(), in TEST_F()
625 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F()
645 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F()
648 history->AddPage(GURL("http://www.google.com/foo"), scope, 3, existing_url, in TEST_F()
663 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F()
Dhistory_backend.cc754 URLRow existing_url; in AddPagesWithDetails() local
755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); in AddPagesWithDetails()
/external/chromium/chrome/browser/extensions/
Dextension_webnavigation_api.cc414 GURL existing_url = navigation_state_.GetUrl(frame_id); in IsReferenceFragmentNavigation() local
415 if (existing_url == url) in IsReferenceFragmentNavigation()
420 return existing_url.ReplaceComponents(replacements) == in IsReferenceFragmentNavigation()