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

Unified Diff: content/common/view_messages.h

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add EXPECT_TRUE to NavigateToURL in new tests; nits Created 6 years, 1 month 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index fb91f4522132d4bfa27832d1735fa9a0404339dd..c6f6c4282b8aa6776e6dbd768f9f099abb2306e5 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -15,6 +15,7 @@
#include "content/common/content_param_traits.h"
#include "content/common/cookie_data.h"
#include "content/common/date_time_suggestion.h"
+#include "content/common/frame_replication_state.h"
#include "content/common/navigation_gesture.h"
#include "content/common/view_message_enums.h"
#include "content/common/webplugin_geometry.h"
@@ -462,6 +463,11 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
// Whether the RenderView should initially be swapped out.
IPC_STRUCT_MEMBER(bool, swapped_out)
+ // In --site-per-process mode, if this view is |swapped_out|, its main frame
+ // will become a RenderFrameProxy. |remote_frame_state| is used to replicate
+ // information such as security origin to that RenderFrameProxy.
+ IPC_STRUCT_MEMBER(content::FrameReplicationState, remote_frame_state)
nasko 2014/11/20 17:22:54 We don't use the "remote" prefix in the chromium s
alexmos 2014/11/20 21:09:10 Done.
+
// The ID of the proxy object for the main frame in this view. It is only
// used if |swapped_out| is true.
IPC_STRUCT_MEMBER(int32, proxy_routing_id)

Powered by Google App Engine
This is Rietveld 408576698