Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: content/common/feature_policy/feature_policy.cc

Issue 2654873004: Move content-side Feature Policy code into content/{common,child}/feature_policy (Closed)
Patch Set: Fix missed nit Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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.
4
5 #include "content/common/feature_policy/feature_policy.h"
6
7 namespace content {
8
9 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration()
10 : matches_all_origins(false) {}
11
12 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration(
13 std::string feature_name,
14 bool matches_all_origins,
15 std::vector<url::Origin> origins)
16 : feature_name(feature_name),
17 matches_all_origins(matches_all_origins),
18 origins(origins) {}
19
20 ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration(
21 const ParsedFeaturePolicyDeclaration& rhs) = default;
22
23 ParsedFeaturePolicyDeclaration::~ParsedFeaturePolicyDeclaration() {}
24
25 } // namespace content
OLDNEW
« no previous file with comments | « content/common/feature_policy/feature_policy.h ('k') | content/common/frame_replication_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698