Home
last modified time | relevance | path

Searched refs:page_url (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium/chrome/browser/
Dfavicon_helper_unittest.cc85 HistoryRequestHandler(const GURL& page_url, in HistoryRequestHandler() argument
89 : page_url_(page_url), in HistoryRequestHandler()
95 HistoryRequestHandler(const GURL& page_url, in HistoryRequestHandler() argument
100 : page_url_(page_url), in HistoryRequestHandler()
129 TestFaviconHelper(const GURL& page_url, in TestFaviconHelper() argument
136 entry_.set_url(page_url); in TestFaviconHelper()
186 const GURL& page_url, in UpdateFaviconMappingAndFetch() argument
191 history_handler_.reset(new HistoryRequestHandler(page_url, icon_url, in UpdateFaviconMappingAndFetch()
205 const GURL& page_url, in GetFaviconForURL() argument
209 history_handler_.reset(new HistoryRequestHandler(page_url, GURL(), in GetFaviconForURL()
[all …]
Dfavicon_service.cc32 const GURL& page_url, in UpdateFaviconMappingAndFetch() argument
41 hs->UpdateFaviconMappingAndFetch(request, page_url, icon_url, icon_type); in UpdateFaviconMappingAndFetch()
48 const GURL& page_url, in GetFaviconForURL() argument
55 if (page_url.SchemeIs(chrome::kChromeUIScheme) || in GetFaviconForURL()
56 page_url.SchemeIs(chrome::kExtensionScheme)) { in GetFaviconForURL()
58 profile_, request, page_url); in GetFaviconForURL()
62 hs->GetFaviconForURL(request, page_url, icon_types); in GetFaviconForURL()
69 void FaviconService::SetFaviconOutOfDateForPage(const GURL& page_url) { in SetFaviconOutOfDateForPage() argument
72 hs->SetFaviconOutOfDateForPage(page_url); in SetFaviconOutOfDateForPage()
82 void FaviconService::SetFavicon(const GURL& page_url, in SetFavicon() argument
[all …]
Dfavicon_service.h59 Handle UpdateFaviconMappingAndFetch(const GURL& page_url,
73 Handle GetFaviconForURL(const GURL& page_url,
79 void SetFaviconOutOfDateForPage(const GURL& page_url);
88 void SetFavicon(const GURL& page_url,
Dfavicon_helper.cc227 const GURL& page_url, in UpdateFaviconMappingAndFetch() argument
232 GetFaviconService()->UpdateFaviconMappingAndFetch(page_url, icon_url, in UpdateFaviconMappingAndFetch()
245 const GURL& page_url, in GetFaviconForURL() argument
249 GetFaviconService()->GetFaviconForURL(page_url, icon_types, consumer, in GetFaviconForURL()
254 const GURL& page_url, in SetHistoryFavicon() argument
258 GetFaviconService()->SetFavicon(page_url, icon_url, image_data, icon_type); in SetHistoryFavicon()
358 const GURL& page_url, in DownloadFaviconOrAskHistory() argument
363 ScheduleDownload(page_url, icon_url, preferred_icon_size(), icon_type, in DownloadFaviconOrAskHistory()
379 UpdateFaviconMappingAndFetch(page_url, icon_url, icon_type, in DownloadFaviconOrAskHistory()
Dfavicon_helper.h114 const GURL& page_url,
127 const GURL& page_url,
132 virtual void SetHistoryFavicon(const GURL& page_url,
174 void DownloadFaviconOrAskHistory(const GURL& page_url,
Dbug_report_data.cc28 const std::string& page_url, in UpdateData() argument
40 page_url_ = page_url; in UpdateData()
Dbug_report_data.h35 const std::string& page_url,
53 const std::string& page_url() const { return page_url_; } in page_url() function
Dcontent_setting_bubble_model_unittest.cc158 const GURL page_url("http://toplevel.example/"); in TEST_F() local
162 NavigateAndCommit(page_url); in TEST_F()
173 setting_map->SetContentSetting(frame1_url, page_url, CONTENT_SETTING_ALLOW); in TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dchrome_web_ui_factory.cc281 const GURL& page_url) const { in GetFaviconForURL()
284 if (page_url.SchemeIs(chrome::kExtensionScheme) && in GetFaviconForURL()
285 page_url.host() != extension_misc::kBookmarkManagerId) { in GetFaviconForURL()
286 ExtensionWebUI::GetFaviconForURL(profile, request, page_url); in GetFaviconForURL()
290 GetFaviconResourceBytes(page_url)); in GetFaviconForURL()
311 const GURL& page_url) const { in GetFaviconResourceBytes()
314 if (page_url.host() == extension_misc::kBookmarkManagerId) in GetFaviconResourceBytes()
318 if (page_url.SchemeIs(chrome::kExtensionScheme)) { in GetFaviconResourceBytes()
323 if (!HasWebUIScheme(page_url)) in GetFaviconResourceBytes()
327 if (page_url.host() == chrome::kChromeUIConflictsHost) in GetFaviconResourceBytes()
[all …]
Dchrome_web_ui_factory.h34 const GURL& page_url) const;
45 RefCountedMemory* GetFaviconResourceBytes(const GURL& page_url) const;
/external/chromium/chrome/browser/extensions/
Dextension_apitest.cc124 const std::string& page_url) { in RunExtensionSubtest() argument
125 DCHECK(!page_url.empty()) << "Argument page_url is required."; in RunExtensionSubtest()
126 return RunExtensionTestImpl(extension_name, page_url, false, true, false); in RunExtensionSubtest()
129 bool ExtensionApiTest::RunPageTest(const std::string& page_url) { in RunPageTest() argument
130 return RunExtensionSubtest("", page_url); in RunPageTest()
136 const std::string& page_url, in RunExtensionTestImpl() argument
141 DCHECK(!std::string(extension_name).empty() || !page_url.empty()) << in RunExtensionTestImpl()
168 if (!page_url.empty()) { in RunExtensionTestImpl()
169 GURL url = GURL(page_url); in RunExtensionTestImpl()
184 url = extension->GetResourceURL(page_url); in RunExtensionTestImpl()
Dall_urls_apitest.cc74 GURL page_url = test_server()->GetURL(kAllUrlsTarget); in IN_PROC_BROWSER_TEST_F() local
75 ExtensionTestMessageListener listener5a("content script: " + page_url.spec(), in IN_PROC_BROWSER_TEST_F()
77 ExtensionTestMessageListener listener5b("execute: " + page_url.spec(), false); in IN_PROC_BROWSER_TEST_F()
78 ui_test_utils::NavigateToURL(browser(), page_url); in IN_PROC_BROWSER_TEST_F()
101 GURL page_url = test_server()->GetURL(kAllUrlsTarget); in IN_PROC_BROWSER_TEST_F() local
102 ExtensionTestMessageListener listener1a("content script: " + page_url.spec(), in IN_PROC_BROWSER_TEST_F()
104 ExtensionTestMessageListener listener1b("execute: " + page_url.spec(), false); in IN_PROC_BROWSER_TEST_F()
105 ui_test_utils::NavigateToURL(browser(), page_url); in IN_PROC_BROWSER_TEST_F()
Dextension_context_menu_browsertest.cc133 const GURL& page_url, in CreateMenu() argument
139 params.page_url = page_url; in CreateMenu()
183 bool MenuHasItemWithLabel(const GURL& page_url, in MenuHasItemWithLabel() argument
188 CreateMenu(browser(), page_url, link_url, frame_url)); in MenuHasItemWithLabel()
202 GURL page_url("http://www.google.com"); in IN_PROC_BROWSER_TEST_F() local
206 CreateMenu(browser(), page_url, GURL(), GURL())); in IN_PROC_BROWSER_TEST_F()
413 GURL page_url("http://www.google.com"); in IN_PROC_BROWSER_TEST_F() local
421 CreateMenu(browser(), page_url, GURL(), GURL())); in IN_PROC_BROWSER_TEST_F()
423 CreateMenu(browser_incognito, page_url, GURL(), GURL())); in IN_PROC_BROWSER_TEST_F()
448 GURL page_url("http://www.google.com"); in IN_PROC_BROWSER_TEST_F() local
[all …]
Dextension_gallery_install_apitest.cc35 std::string page_url = base_url; in RunInstallTest() local
36 page_url += "api_test/extension_gallery_install/" + page; in RunInstallTest()
38 return RunPageTest(page_url.c_str()); in RunInstallTest()
Dextension_apitest.h98 const std::string& page_url);
102 bool RunPageTest(const std::string& page_url);
/external/chromium/chrome/browser/history/
Dthumbnail_database.cc31 const GURL& page_url, in FillIconMapping() argument
37 icon_mapping->page_url = page_url; in FillIconMapping()
472 bool ThumbnailDatabase::GetIconMappingForPageURL(const GURL& page_url, in GetIconMappingForPageURL() argument
476 if (!GetIconMappingsForPageURL(page_url, &icon_mappings)) in GetIconMappingForPageURL()
492 const GURL& page_url, in GetIconMappingsForPageURL() argument
504 statement.BindString(0, URLDatabase::GURLToDatabaseURL(page_url)); in GetIconMappingsForPageURL()
513 FillIconMapping(statement, page_url, &icon_mapping); in GetIconMappingsForPageURL()
519 IconMappingID ThumbnailDatabase::AddIconMapping(const GURL& page_url, in AddIconMapping() argument
521 return AddIconMapping(page_url, icon_id, false); in AddIconMapping()
536 bool ThumbnailDatabase::DeleteIconMappings(const GURL& page_url) { in DeleteIconMappings() argument
[all …]
Dthumbnail_database.h138 bool GetIconMappingForPageURL(const GURL& page_url,
145 bool GetIconMappingsForPageURL(const GURL& page_url,
150 IconMappingID AddIconMapping(const GURL& page_url, FaviconID icon_id);
159 bool DeleteIconMappings(const GURL& page_url);
182 IconMappingID AddToTemporaryIconMappingTable(const GURL& page_url,
269 IconMappingID AddIconMapping(const GURL& page_url,
Dhistory_backend.h198 const GURL& page_url);
206 const GURL& page_url,
218 const GURL& page_url,
221 void SetFavicon(const GURL& page_url,
227 const GURL& page_url,
231 void SetFaviconOutOfDateForPage(const GURL& page_url);
398 const GURL& page_url, std::vector<unsigned char>* data);
453 const GURL* page_url,
460 void SetFaviconMapping(const GURL& page_url,
469 bool AddOrUpdateIconMapping(const GURL& page_url,
Dthumbnail_database_unittest.cc157 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
178 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
188 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
285 EXPECT_EQ(url, icon_mapping.page_url); in TEST_F()
311 EXPECT_EQ(url, icon_mapping.page_url); in TEST_F()
332 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
347 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
361 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
393 GURL page_url("http://www.google.com"); in TEST_F() local
394 EXPECT_TRUE(db.AddIconMapping(page_url, id1)); in TEST_F()
[all …]
Dhistory.cc433 void HistoryService::SetPageThumbnail(const GURL& page_url, in SetPageThumbnail() argument
436 if (!CanAddURL(page_url)) in SetPageThumbnail()
440 page_url, thumbnail, score); in SetPageThumbnail()
444 const GURL& page_url, in GetPageThumbnail() argument
448 new history::GetPageThumbnailRequest(callback), page_url); in GetPageThumbnail()
460 const GURL& page_url, in UpdateFaviconMappingAndFetch() argument
464 request, page_url, icon_url, history::FAVICON); in UpdateFaviconMappingAndFetch()
469 const GURL& page_url, in GetFaviconForURL() argument
472 page_url, icon_types); in GetFaviconForURL()
475 void HistoryService::SetFavicon(const GURL& page_url, in SetFavicon() argument
[all …]
Dhistory_backend.cc1504 const GURL& page_url) { in GetPageThumbnail() argument
1509 GetPageThumbnailDirectly(page_url, &data); in GetPageThumbnail()
1516 const GURL& page_url, in GetPageThumbnailDirectly() argument
1530 if (GetMostRecentRedirectsFrom(page_url, &redirects) && in GetPageThumbnailDirectly()
1538 if ((url_id = db_->GetRowForURL(page_url, NULL))) in GetPageThumbnailDirectly()
1545 success = GetThumbnailFromOlderRedirect(page_url, &(*data)->data); in GetPageThumbnailDirectly()
1570 const GURL& page_url, in GetThumbnailFromOlderRedirect() argument
1574 URLID page_url_id = db_->GetRowForURL(page_url, NULL); in GetThumbnailFromOlderRedirect()
1608 const GURL& page_url, in UpdateFaviconMappingAndFetch() argument
1611 UpdateFaviconMappingAndFetchImpl(&page_url, icon_url, request, icon_type); in UpdateFaviconMappingAndFetch()
[all …]
/external/chromium/chrome/browser/ui/views/tab_contents/
Dtab_contents_drag_win.cc121 const GURL& page_url = view_->GetTabContents()->GetURL(); in StartDragging() local
126 DoDragging(drop_data, ops, page_url, page_encoding, image, image_offset); in StartDragging()
147 page_url, in StartDragging()
171 const GURL& page_url, in StartBackgroundDragging() argument
177 DoDragging(drop_data, ops, page_url, page_encoding, image, image_offset); in StartBackgroundDragging()
186 const GURL& page_url, in PrepareDragForDownload() argument
215 page_url, in PrepareDragForDownload()
271 const GURL& page_url, in DoDragging() argument
278 PrepareDragForDownload(drop_data, &data, page_url, page_encoding); in DoDragging()
Dtab_contents_drag_win.h50 const GURL& page_url,
58 const GURL& page_url,
66 const GURL& page_url,
/external/chromium/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc202 GURL page_url("http://page.url.com"); in TEST_F() local
209 malicious_url, page_url, referrer_url, in TEST_F()
219 malicious_url, page_url, referrer_url, in TEST_F()
228 malicious_url, page_url, referrer_url, in TEST_F()
237 malicious_url, page_url, referrer_url, in TEST_F()
Dmalware_details.cc158 GURL page_url = tab_contents()->GetURL(); in StartCollection() local
159 if (IsPublicUrl(page_url)) { in StartCollection()
160 report_->set_page_url(page_url.spec()); in StartCollection()
173 AddUrl(page_url, GURL(), "", NULL); in StartCollection()

123