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

Unified Diff: Source/core/frame/RemoteFrame.h

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/RemoteFrame.h
diff --git a/Source/core/frame/RemoteFrame.h b/Source/core/frame/RemoteFrame.h
index 1f8ec6dd88bdcb89ae63dd9da940341a6f95e748..0b9c7babea232944d637d2bcd4868b7a2e5006d6 100644
--- a/Source/core/frame/RemoteFrame.h
+++ b/Source/core/frame/RemoteFrame.h
@@ -5,6 +5,7 @@
#ifndef RemoteFrame_h
#define RemoteFrame_h
+#include "core/dom/RemoteSecurityContext.h"
#include "core/frame/Frame.h"
namespace blink {
@@ -25,6 +26,7 @@ public:
virtual DOMWindow* domWindow() const override { return 0; }
virtual void navigate(Document& originDocument, const KURL&, bool lockBackForwardList) override;
virtual void detach() override;
+ virtual RemoteSecurityContext* securityContext() const override;
// FIXME: Remove this method once we have input routing in the browser
// process. See http://crbug.com/339659.
@@ -42,6 +44,7 @@ private:
RemoteFrameClient* remoteFrameClient() const;
RefPtrWillBeMember<RemoteFrameView> m_view;
+ RefPtr<RemoteSecurityContext> m_securityContext;
};
inline RemoteFrameView* RemoteFrame::view() const
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698