blob: ebc1eaa6058df9637004d6537f381b71a9ac86d2 [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361// Copyright 2017 The Chromium Authors
Jinho Bang22de3a92018-02-27 18:16:222// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Liquan (Max) Gu63a58462020-11-23 22:17:175#include "components/permissions/contexts/payment_handler_permission_context.h"
Jinho Bang22de3a92018-02-27 18:16:226
Hans Wennborg1790e6b2020-04-24 19:10:337#include "base/notreached.h"
Jinho Bang22de3a92018-02-27 18:16:228#include "components/content_settings/core/common/content_settings_types.h"
Clark DuVall484c2562020-01-23 22:05:099#include "components/permissions/permission_request_id.h"
Jinho Bangbad9b9292018-03-06 00:04:5710#include "content/public/browser/web_contents.h"
Sandor «Alex» Majorc41217f2025-02-14 23:33:1311#include "services/network/public/mojom/permissions_policy/permissions_policy_feature.mojom.h"
Jinho Bangbad9b9292018-03-06 00:04:5712#include "url/gurl.h"
Jinho Bang22de3a92018-02-27 18:16:2213
14namespace payments {
15
16PaymentHandlerPermissionContext::PaymentHandlerPermissionContext(
Clark DuValla11361ad32020-02-20 22:14:2717 content::BrowserContext* browser_context)
Sandor «Alex» Majore9545a72025-01-31 20:40:4618 : PermissionContextBase(