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

Unified Diff: components/network_hints/common/network_hints_messages.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/common/network_hints_messages.h
diff --git a/components/network_hints/common/network_hints_messages.h b/components/network_hints/common/network_hints_messages.h
index bc4d163a4d1e26041977e3da234acd88fc5e3f38..82fce8f0f93c62e2f44eab49d905d9bd6f27ef1a 100644
--- a/components/network_hints/common/network_hints_messages.h
+++ b/components/network_hints/common/network_hints_messages.h
@@ -9,7 +9,6 @@
#include "components/network_hints/common/network_hints_common.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
-#include "third_party/WebKit/public/platform/WebNavigationHintType.h"
#include "url/ipc/url_param_traits.h"
// Singly-included section for custom IPC traits.
@@ -34,9 +33,6 @@ struct ParamTraits<network_hints::LookupRequest> {
#define IPC_MESSAGE_START NetworkHintsMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(blink::WebNavigationHintType,
- blink::WebNavigationHintType::Last)
-
//-----------------------------------------------------------------------------
// Host messages
// These are messages sent from the renderer process to the browser process.
@@ -52,8 +48,3 @@ IPC_MESSAGE_CONTROL3(NetworkHintsMsg_Preconnect,
GURL /* preconnect target url */,
bool /* Does connection have its credentials flag set */,
int /* number of connections */)
-
-// Request to trigger possible optimizations for navigation.
-IPC_MESSAGE_CONTROL2(NetworkHintsMsg_NavigationHint,
- GURL /* document url */,
- blink::WebNavigationHintType /* navigation hint type */)

Powered by Google App Engine
This is Rietveld 408576698