| 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 82fce8f0f93c62e2f44eab49d905d9bd6f27ef1a..bc4d163a4d1e26041977e3da234acd88fc5e3f38 100644
|
| --- a/components/network_hints/common/network_hints_messages.h
|
| +++ b/components/network_hints/common/network_hints_messages.h
|
| @@ -9,6 +9,7 @@
|
| #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.
|
| @@ -33,6 +34,9 @@ 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.
|
| @@ -48,3 +52,8 @@ 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 */)
|
|
|