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

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

Issue 2043083002: Speculatively launch Service Workers on mouse/touch events. [2/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated falken's comment Created 4 years, 6 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
Index: third_party/WebKit/public/platform/WebPrescientNetworking.h
diff --git a/third_party/WebKit/public/platform/WebPrescientNetworking.h b/third_party/WebKit/public/platform/WebPrescientNetworking.h
index 0b2872e3f9b5caa008c46f25a75f5c663c8a7f4b..daaa78e6ec9e0ad3ba8e84566d659ff633a8ca65 100644
--- a/third_party/WebKit/public/platform/WebPrescientNetworking.h
+++ b/third_party/WebKit/public/platform/WebPrescientNetworking.h
@@ -37,6 +37,8 @@
namespace blink {
+enum class WebNavigationHintType;
+
class WebPrescientNetworking {
public:
virtual ~WebPrescientNetworking() { }
@@ -46,6 +48,8 @@ public:
virtual void prefetchDNS(const WebString& hostname) { }
virtual void preconnect(const WebURL& url, const bool allowCredentials) { }
+
+ virtual void sendNavigationHint(const WebURL& url, WebNavigationHintType) {}
kinuko 2016/06/24 07:40:48 Please have a comment for this
horo 2016/06/24 08:26:02 Done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698