Index: chrome/common/render_messages.h |
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
index 2758407b2c2c1da090f874bbce94c15676063522..e4160e1c5cf829f7955f0a936ed3d5a1825c408c 100644 |
--- a/chrome/common/render_messages.h |
+++ b/chrome/common/render_messages.h |
@@ -32,6 +32,7 @@ |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebPreconnectMotivation.h" |
#include "ui/base/window_open_disposition.h" |
#include "ui/gfx/rect.h" |
@@ -126,6 +127,7 @@ IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) |
IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) |
IPC_ENUM_TRAITS(TranslateErrors::Type) |
IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
+IPC_ENUM_TRAITS(WebKit::WebPreconnectMotivation) |
IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
IPC_STRUCT_TRAITS_MEMBER(value) |
@@ -622,6 +624,11 @@ IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, |
IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, |
std::vector<std::string> /* hostnames */) |
+// Request for preconnect to host providing resource specified by URL |
+IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_Preconnect, |
+ GURL /* preconnect target url */, |
+ WebKit::WebPreconnectMotivation) |
+ |
// Notifies when a plugin couldn't be loaded because it's outdated. |
IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
int /* placeholder ID */, |