| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "third_party/blink/public/common/frame/frame_policy.h" |
| |
| namespace blink { |
| |
| FramePolicy::FramePolicy() |
| : sandbox_flags(WebSandboxFlags::kNone), |
| container_policy({}), |
| allowed_to_download_without_user_activation(true) {} |
| |
| FramePolicy::FramePolicy(WebSandboxFlags sandbox_flags, |
| const ParsedFeaturePolicy& container_policy, |
| bool allowed_to_download_without_user_activation) |
| : sandbox_flags(sandbox_flags), |
| container_policy(container_policy), |
| allowed_to_download_without_user_activation( |
| allowed_to_download_without_user_activation) {} |
| |
| FramePolicy::FramePolicy(const FramePolicy& lhs) = default; |
| |
| FramePolicy::~FramePolicy() = default; |
| |
| } // namespace blink |