Use blink::WebSandboxFlags directly in content.
[chromium-blink-merge.git] / content / common / frame_replication_state.cc
blob0019cdc41e9b579ced81758aadc7155112057113
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 #include "content/common/frame_replication_state.h"
6 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
7 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
9 namespace content {
11 FrameReplicationState::FrameReplicationState()
12 : sandbox_flags(blink::WebSandboxFlags::None),
13 scope(blink::WebTreeScopeType::Document) {
16 FrameReplicationState::FrameReplicationState(
17 blink::WebTreeScopeType scope,
18 const std::string& name,
19 blink::WebSandboxFlags sandbox_flags)
20 : origin(), sandbox_flags(sandbox_flags), name(name), scope(scope) {
23 FrameReplicationState::~FrameReplicationState() {
26 } // namespace content