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

Unified Diff: Source/core/dom/RemoteSecurityContext.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/core.gypi ('k') | Source/core/dom/RemoteSecurityContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/RemoteSecurityContext.h
diff --git a/Source/core/dom/RemoteSecurityContext.h b/Source/core/dom/RemoteSecurityContext.h
new file mode 100644
index 0000000000000000000000000000000000000000..b631750b570168a95f24c93f7a2cf0254988dec1
--- /dev/null
+++ b/Source/core/dom/RemoteSecurityContext.h
@@ -0,0 +1,23 @@
+// Copyright 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.
+
+#ifndef RemoteSecurityContext_h
+#define RemoteSecurityContext_h
+
+#include "core/dom/SecurityContext.h"
+
+namespace blink {
+
+class RemoteSecurityContext : public SecurityContext, public RefCounted<RemoteSecurityContext> {
+public:
+ static PassRefPtr<RemoteSecurityContext> create();
+ void setReplicatedOrigin(PassRefPtr<SecurityOrigin>);
+
+private:
+ RemoteSecurityContext();
+};
+
+} // namespace blink
+
+#endif // RemoteSecurityContext_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/RemoteSecurityContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698