Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3194)

Unified Diff: chrome/browser/prerender/prerender_handle.cc

Issue 2569763002: Prerender: remove PrerenderHandle::Matches() (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prerender/prerender_handle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_handle.cc
diff --git a/chrome/browser/prerender/prerender_handle.cc b/chrome/browser/prerender/prerender_handle.cc
index f15a148802a4889419fa8d979225cd07c09214c1..8c51ff7465ccf23a514dd6388adbf6dde0f44db2 100644
--- a/chrome/browser/prerender/prerender_handle.cc
+++ b/chrome/browser/prerender/prerender_handle.cc
@@ -67,14 +67,6 @@ PrerenderContents* PrerenderHandle::contents() const {
return prerender_data_ ? prerender_data_->contents() : nullptr;
}
-bool PrerenderHandle::Matches(
- const GURL& url,
- const content::SessionStorageNamespace* session_storage_namespace) const {
- DCHECK_CURRENTLY_ON(BrowserThread::UI);
- return prerender_data_ &&
- prerender_data_->contents()->Matches(url, session_storage_namespace);
-}
-
PrerenderHandle::PrerenderHandle(
PrerenderManager::PrerenderData* prerender_data)
: observer_(nullptr), weak_ptr_factory_(this) {
« no previous file with comments | « chrome/browser/prerender/prerender_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698