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

Unified Diff: chrome/common/prefetch_messages.h

Issue 334483004: Enable resource prefetch from the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 6 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
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/prefetch_messages.h
diff --git a/chrome/common/prefetch_messages.h b/chrome/common/prefetch_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..e4f691ac1f4e156741870b6f19b23a2d1c6e8ecc
--- /dev/null
+++ b/chrome/common/prefetch_messages.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included message file, no traditional include guard.
+#include "ipc/ipc_message.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_param_traits.h"
+#include "url/gurl.h"
+
+#define IPC_MESSAGE_START PrefetchMsgStart
+
+// Prefetch Messages
+// These are messages sent from the browser to the renderer related to
+// prefetching.
+
+// Instructs the renderer to launch a prefetch within its context.
+IPC_MESSAGE_ROUTED1(PrefetchMsg_Prefetch,
+ GURL /* url */)
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698