/external/chromium/chrome/browser/search_engines/ |
D | util.cc | 103 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 …]
|
D | template_url_fetcher.cc | 169 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()
|
D | template_url_model.cc | 220 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_org/chrome/browser/search_engines/ |
D | template_url_fetcher.cc | 172 TemplateURL* existing_url = NULL; in AddSearchProvider() local 174 &existing_url)) { in AddSearchProvider() 175 if (existing_url) in AddSearchProvider() 176 model->Remove(existing_url); in AddSearchProvider()
|
D | util.cc | 224 scoped_ptr<TemplateURL> existing_url(i->first); in MergeEnginesFromPrepopulateData() local 230 template_urls->begin(), template_urls->end(), existing_url.get()); in MergeEnginesFromPrepopulateData() 232 if (*default_search_provider == existing_url.get()) in MergeEnginesFromPrepopulateData() 279 TemplateURL* existing_url(existing_url_iter->second); in CreateActionsFromCurrentPrepopulateData() local 281 MergeIntoPrepopulatedEngineData(&data, existing_url); in CreateActionsFromCurrentPrepopulateData() 286 actions.edited_engines.push_back(std::make_pair(existing_url, data)); in CreateActionsFromCurrentPrepopulateData()
|
D | template_url_service.cc | 406 TemplateURL* existing_url = GetTemplateURLForKeyword(keyword); in CanReplaceKeyword() local 408 *template_url_to_replace = existing_url; in CanReplaceKeyword() 409 if (existing_url) { in CanReplaceKeyword() 412 return CanReplace(existing_url); in CanReplaceKeyword() 1545 const TemplateURL* existing_url = i->second; in AddToMaps() local 1551 existing_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION; in AddToMaps() 1554 !CanReplace(template_url) : CanReplace(existing_url)) in AddToMaps()
|
/external/chromium/chrome/browser/history/ |
D | history_unittest.cc | 577 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()
|
D | history_backend.cc | 754 URLRow existing_url; in AddPagesWithDetails() local 755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); in AddPagesWithDetails()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_webnavigation_api.cc | 414 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()
|
/external/chromium_org/chrome/browser/history/ |
D | history_unittest.cc | 1272 const GURL existing_url("http://www.google.com/"); in TEST_F() local 1274 existing_url, base::Time::Now(), history::SOURCE_BROWSED); in TEST_F() 1278 history_service_->SetPageTitle(existing_url, existing_title); in TEST_F() 1281 EXPECT_TRUE(QueryURL(history_service_.get(), existing_url)); in TEST_F() 1304 const GURL existing_url("http://www.google.com/"); in TEST_F() local 1306 existing_url, base::Time::Now(), scope, 0, GURL(), in TEST_F() 1320 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F() 1341 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F() 1346 scope, 3, existing_url, history::RedirectList(), in TEST_F() 1361 EXPECT_TRUE(page_usage_data_[0]->GetURL() == existing_url); in TEST_F()
|
D | history_backend.cc | 823 URLRow existing_url; in AddPagesWithDetails() local 824 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); in AddPagesWithDetails()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | typed_url_model_associator.cc | 407 bool existing_url = history_backend_->GetURL(new_url.url(), &new_url); in UpdateFromSyncDB() local 408 if (existing_url) { in UpdateFromSyncDB() 429 if (existing_url) { in UpdateFromSyncDB()
|
/external/chromium_org/chrome/browser/extensions/api/web_navigation/ |
D | web_navigation_api.cc | 705 GURL existing_url = navigation_state_.GetUrl(frame_id); in IsReferenceFragmentNavigation() local 706 if (existing_url == url) in IsReferenceFragmentNavigation() 711 return existing_url.ReplaceComponents(replacements) == in IsReferenceFragmentNavigation()
|
/external/chromium_org/content/browser/frame_host/ |
D | navigation_controller_impl.cc | 104 bool AreURLsInPageNavigation(const GURL& existing_url, in AreURLsInPageNavigation() argument 108 if (existing_url == new_url) in AreURLsInPageNavigation() 119 return existing_url.ReplaceComponents(replacements) == in AreURLsInPageNavigation()
|