blob: 296aa5756b5eac48f82148c0a26695b457c19db1 [file] [log] [blame]
Jinho Bang22de3a92018-02-27 18:16:221// 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 "chrome/browser/payments/payment_handler_permission_context.h"
6
7#include "components/content_settings/core/common/content_settings_types.h"
8#include "third_party/WebKit/public/mojom/feature_policy/feature_policy.mojom.h"
9
10namespace payments {
11
12PaymentHandlerPermissionContext::PaymentHandlerPermissionContext(
13 Profile* profile)
14 : PermissionContextBase(profile,
15 CONTENT_SETTINGS_TYPE_PAYMENT_HANDLER,
16 blink::mojom::FeaturePolicyFeature::kNotFound) {}
17
18PaymentHandlerPermissionContext::~PaymentHandlerPermissionContext() {}
19
20bool PaymentHandlerPermissionContext::IsRestrictedToSecureOrigins() const {
21 return true;
22}
23
24} // namespace payments