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