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

Unified Diff: components/payments/payment_request_delegate.h

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/payments/payment_request.mojom ('k') | components/payments/payment_request_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/payment_request_delegate.h
diff --git a/components/payments/payment_request_delegate.h b/components/payments/payment_request_delegate.h
deleted file mode 100644
index 65e56af4b1aa7f2fb552813b7d8e71bc151ed2f0..0000000000000000000000000000000000000000
--- a/components/payments/payment_request_delegate.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
-#define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
-
-namespace autofill {
-class PersonalDataManager;
-}
-
-namespace payments {
-
-class PaymentRequest;
-
-class PaymentRequestDelegate {
- public:
- virtual ~PaymentRequestDelegate() {}
-
- // Shows the Payment Request dialog for the given |request|.
- virtual void ShowDialog(PaymentRequest* request) = 0;
-
- // Closes the same dialog that was opened by this delegate. Must be safe to
- // call when the dialog is not showing.
- virtual void CloseDialog() = 0;
-
- // Gets the PersonalDataManager associated with this PaymentRequest flow.
- // Cannot be null.
- virtual autofill::PersonalDataManager* GetPersonalDataManager() = 0;
-};
-
-} // namespace payments
-
-#endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
« no previous file with comments | « components/payments/payment_request.mojom ('k') | components/payments/payment_request_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698