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

Unified Diff: content/renderer/render_frame_proxy.h

Issue 1098763003: Send origin updates to frame proxies when a frame navigates to new origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/renderer/render_frame_proxy.h
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h
index 19a94f682064e763dbe53d4b84ac1374b08e08b9..fba8c9afef430f494102b5db4987f5dd6dead447 100644
--- a/content/renderer/render_frame_proxy.h
+++ b/content/renderer/render_frame_proxy.h
@@ -12,6 +12,7 @@
#include "ipc/ipc_sender.h"
#include "third_party/WebKit/public/web/WebRemoteFrame.h"
#include "third_party/WebKit/public/web/WebRemoteFrameClient.h"
+#include "url/origin.h"
struct FrameMsg_BuffersSwapped_Params;
struct FrameMsg_CompositorFrameSwapped_Params;
@@ -144,6 +145,7 @@ class CONTENT_EXPORT RenderFrameProxy
void OnDidUpdateSandboxFlags(SandboxFlags flags);
void OnDispatchLoad();
void OnDidUpdateName(const std::string& name);
+ void OnDidUpdateOrigin(const url::Origin& origin);
// The routing ID by which this RenderFrameProxy is known.
const int routing_id_;

Powered by Google App Engine
This is Rietveld 408576698