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

Side by Side Diff: third_party/WebKit/Source/core/dom/RemoteSecurityContext.h

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteSecurityContext_h 5 #ifndef RemoteSecurityContext_h
6 #define RemoteSecurityContext_h 6 #define RemoteSecurityContext_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/SecurityContext.h" 9 #include "core/dom/SecurityContext.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT RemoteSecurityContext : public GarbageCollectedFinalized<Remot eSecurityContext>, public SecurityContext { 14 class CORE_EXPORT RemoteSecurityContext : public GarbageCollectedFinalized<Remot eSecurityContext>, public SecurityContext {
15 USING_GARBAGE_COLLECTED_MIXIN(RemoteSecurityContext); 15 USING_GARBAGE_COLLECTED_MIXIN(RemoteSecurityContext);
16 public: 16 public:
17 DECLARE_VIRTUAL_TRACE(); 17 DECLARE_VIRTUAL_TRACE();
18 18
19 static RemoteSecurityContext* create(); 19 static RemoteSecurityContext* create();
20 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>); 20 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>);
21 void resetReplicatedContentSecurityPolicy();
21 22
22 // FIXME: implement 23 // FIXME: implement
23 void didUpdateSecurityOrigin() override { } 24 void didUpdateSecurityOrigin() override { }
24 25
25 private: 26 private:
26 RemoteSecurityContext(); 27 RemoteSecurityContext();
27 }; 28 };
28 29
29 } // namespace blink 30 } // namespace blink
30 31
31 #endif // RemoteSecurityContext_h 32 #endif // RemoteSecurityContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698