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

Unified Diff: components/network_hints/renderer/prescient_networking_dispatcher.h

Issue 2778173002: Revert of "Speculatively launch Service Workers on mouse/touch events." (Closed)
Patch Set: rebase Created 3 years, 9 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: components/network_hints/renderer/prescient_networking_dispatcher.h
diff --git a/components/network_hints/renderer/prescient_networking_dispatcher.h b/components/network_hints/renderer/prescient_networking_dispatcher.h
index c7f68ec437427ac1bda75daef3cf5f5861caf2cd..a4e7ecd88028a6a5c1a88a1d14311236a0ee3d3c 100644
--- a/components/network_hints/renderer/prescient_networking_dispatcher.h
+++ b/components/network_hints/renderer/prescient_networking_dispatcher.h
@@ -10,10 +10,6 @@
#include "components/network_hints/renderer/renderer_preconnect.h"
#include "third_party/WebKit/public/platform/WebPrescientNetworking.h"
-namespace blink {
-enum class WebNavigationHintType;
-}
-
namespace network_hints {
// The main entry point from blink for sending DNS prefetch requests to the
@@ -26,8 +22,6 @@ class PrescientNetworkingDispatcher : public blink::WebPrescientNetworking {
void prefetchDNS(const blink::WebString& hostname) override;
void preconnect(const blink::WebURL& url,
const bool allow_credentials) override;
- void sendNavigationHint(const blink::WebURL& url,
- blink::WebNavigationHintType type) override;
private:
network_hints::RendererDnsPrefetch dns_prefetch_;

Powered by Google App Engine
This is Rietveld 408576698