OLD | NEW |
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/dom/SecurityContext.h" | 8 #include "core/dom/SecurityContext.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class RemoteSecurityContext : public SecurityContext, public RefCounted<RemoteSe
curityContext> { | 12 class RemoteSecurityContext : public SecurityContext, public RefCounted<RemoteSe
curityContext> { |
13 public: | 13 public: |
14 static PassRefPtr<RemoteSecurityContext> create(); | 14 static PassRefPtr<RemoteSecurityContext> create(); |
15 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>); | 15 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>); |
16 | 16 |
| 17 // FIXME: implement |
| 18 void didUpdateSecurityOrigin() override { } |
| 19 |
17 private: | 20 private: |
18 RemoteSecurityContext(); | 21 RemoteSecurityContext(); |
19 }; | 22 }; |
20 | 23 |
21 } // namespace blink | 24 } // namespace blink |
22 | 25 |
23 #endif // RemoteSecurityContext_h | 26 #endif // RemoteSecurityContext_h |
OLD | NEW |