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 CONTENT_COMMON_FRAME_REPLICATION_STATE_H_
6 #define CONTENT_COMMON_FRAME_REPLICATION_STATE_H_
8 #include "content/common/content_export.h"
9 #include "url/origin.h"
13 // This structure holds information that needs to be replicated from a
14 // RenderFrame to any of its associated RenderFrameProxies.
15 struct CONTENT_EXPORT FrameReplicationState
{
16 FrameReplicationState();
17 ~FrameReplicationState();
19 // Current serialized security origin of the frame. Unique origins are
20 // represented as the string "null" per RFC 6454.
23 // TODO(alexmos): Eventually, this structure can also hold other state that
24 // needs to be replicated, such as frame sizing info.
27 } // namespace content
29 #endif // CONTENT_COMMON_FRAME_REPLICATION_STATE_H_