| 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/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 RefCountedWillBeGarbageCollecte
dFinalized<RemoteSecurityContext>, public SecurityContext { | 14 class CORE_EXPORT RemoteSecurityContext : public GarbageCollectedFinalized<Remot
eSecurityContext>, public SecurityContext { |
| 15 WILL_BE_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 PassRefPtrWillBeRawPtr<RemoteSecurityContext> create(); | 19 static RawPtr<RemoteSecurityContext> create(); |
| 20 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>); | 20 void setReplicatedOrigin(PassRefPtr<SecurityOrigin>); |
| 21 | 21 |
| 22 // FIXME: implement | 22 // FIXME: implement |
| 23 void didUpdateSecurityOrigin() override { } | 23 void didUpdateSecurityOrigin() override { } |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 RemoteSecurityContext(); | 26 RemoteSecurityContext(); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace blink | 29 } // namespace blink |
| 30 | 30 |
| 31 #endif // RemoteSecurityContext_h | 31 #endif // RemoteSecurityContext_h |
| OLD | NEW |