OLD | NEW |
(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 "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/platform/WebFeaturePolicyFeature.h" |
| 9 |
| 10 namespace payments { |
| 11 |
| 12 PaymentHandlerPermissionContext::PaymentHandlerPermissionContext( |
| 13 Profile* profile) |
| 14 : PermissionContextBase(profile, |
| 15 CONTENT_SETTINGS_TYPE_PAYMENT_HANDLER, |
| 16 blink::WebFeaturePolicyFeature::kNotFound) {} |
| 17 |
| 18 PaymentHandlerPermissionContext::~PaymentHandlerPermissionContext() {} |
| 19 |
| 20 bool PaymentHandlerPermissionContext::IsRestrictedToSecureOrigins() const { |
| 21 return true; |
| 22 } |
| 23 |
| 24 } // namespace payments |
OLD | NEW |