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

Unified Diff: third_party/WebKit/public/platform/WebPrerenderingSupport.h

Issue 2455653005: Revert "Revert of [NoStatePrefetch] Kill renderer after preload scanning (patchset #12 id:240001 of… (Closed)
Patch Set: rebased Created 4 years, 2 months 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 | « third_party/WebKit/Source/web/tests/PrerenderingTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebPrerenderingSupport.h
diff --git a/third_party/WebKit/public/platform/WebPrerenderingSupport.h b/third_party/WebKit/public/platform/WebPrerenderingSupport.h
index 632ebf70efc570d16acf002f75bca0213984ff71..d25eaf02bbd0371d2f52026a35cb857f5d7ed720 100644
--- a/third_party/WebKit/public/platform/WebPrerenderingSupport.h
+++ b/third_party/WebKit/public/platform/WebPrerenderingSupport.h
@@ -55,6 +55,11 @@ class WebPrerenderingSupport {
// it after, for instance, a short redirect chain.
virtual void abandon(const WebPrerender&) = 0;
+ // Called when the current page has finished requesting early discoverable
+ // resources for prefetch. In prefetch mode link elements do not initiate any
+ // prerenders.
+ virtual void prefetchFinished() = 0;
+
protected:
WebPrerenderingSupport() {}
virtual ~WebPrerenderingSupport() {}
« no previous file with comments | « third_party/WebKit/Source/web/tests/PrerenderingTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698