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
3 // found in the LICENSE file.
5 #ifndef RemoteSecurityContext_h
6 #define RemoteSecurityContext_h
8 #include "core/CoreExport.h"
9 #include "core/dom/SecurityContext.h"
10 #include "platform/heap/Handle.h"
14 class CORE_EXPORT RemoteSecurityContext
: public RefCountedWillBeGarbageCollectedFinalized
<RemoteSecurityContext
>, public SecurityContext
{
15 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RemoteSecurityContext
);
17 DECLARE_VIRTUAL_TRACE();
19 static PassRefPtrWillBeRawPtr
<RemoteSecurityContext
> create();
20 void setReplicatedOrigin(PassRefPtr
<SecurityOrigin
>);
23 void didUpdateSecurityOrigin() override
{ }
26 RemoteSecurityContext();
31 #endif // RemoteSecurityContext_h