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

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: 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: 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..3070e73877bacc0acbd427fa9c93e88bf04b2056
--- /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> {
dcheng 2014/11/12 21:55:50 Nit: space before :.
alexmos 2014/11/18 18:35:17 Done.
+public:
+ static PassRefPtr<RemoteSecurityContext> create();
+ void setReplicatedOrigin(PassRefPtr<SecurityOrigin>);
+
+private:
+ RemoteSecurityContext();
+};
+
+} // namespace blink
+
+#endif // RemoteSecurityContext_h

Powered by Google App Engine
This is Rietveld 408576698