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

Unified Diff: content/public/common/url_handling_messages.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review comments + lint errors Created 7 years, 4 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: content/public/common/url_handling_messages.h
diff --git a/content/public/common/url_handling_messages.h b/content/public/common/url_handling_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..f527ddfba9ed80594a70d3d173fec5c50a4e6a2b
--- /dev/null
+++ b/content/public/common/url_handling_messages.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 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.
+
+// IPC messages for extension system.
+// Multiply-included message file, hence no include guard.
+
+#include <string>
+
+#include "content/common/content_export.h"
+#include "googleurl/src/gurl.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_message_start.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
+
+#define IPC_MESSAGE_START UrlHandlingMsgStart
+
+// Tells the renderer host to forward the specified URL and referrer to the
+// browser for further handling.
+IPC_MESSAGE_CONTROL2(RendererHostMsg_ForwardUrlToBrowser,
+ GURL /* URL to redirect */,
+ GURL /* referrer URL */)

Powered by Google App Engine
This is Rietveld 408576698