Chromium Code Reviews| Index: content/common/feature_policy/feature_policy.cc |
| diff --git a/content/common/feature_policy/feature_policy.cc b/content/common/feature_policy/feature_policy.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..26721c337dc4cac340b86ca606fd58568df71849 |
| --- /dev/null |
| +++ b/content/common/feature_policy/feature_policy.cc |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
raymes
2017/01/25 01:00:42
nit: 2017
iclelland
2017/01/25 03:28:38
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/common/feature_policy/feature_policy.h" |
| + |
| +namespace content { |
| + |
| +ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration() |
| + : matches_all_origins(false) {} |
| + |
| +ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration( |
| + std::string feature_name, |
| + bool matches_all_origins, |
| + std::vector<url::Origin> origins) |
| + : feature_name(feature_name), |
| + matches_all_origins(matches_all_origins), |
| + origins(origins) {} |
| + |
| +ParsedFeaturePolicyDeclaration::ParsedFeaturePolicyDeclaration( |
| + const ParsedFeaturePolicyDeclaration& rhs) = default; |
| + |
| +ParsedFeaturePolicyDeclaration::~ParsedFeaturePolicyDeclaration() {} |
| + |
| +} // namespace content |