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

Side by Side Diff: chrome/browser/payments/payment_handler_permission_context.cc

Issue 2946013002: PaymentHandler: Implement requestPermission().
Patch Set: PaymentHandler: Implement requestPermission(). Created 3 years, 6 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 "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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698