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

Unified Diff: chrome/browser/payments/chrome_payment_request_delegate.h

Issue 2611253004: [Payment Request] Change the lifetime management of PaymentRequestImpl (Closed)
Patch Set: PaymentRequestImpl -> PaymentRequest Created 3 years, 11 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
Index: chrome/browser/payments/chrome_payment_request_delegate.h
diff --git a/chrome/browser/payments/chrome_payment_request_delegate.h b/chrome/browser/payments/chrome_payment_request_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a9bd28b70c4782203a8ed56a80aced26edcc539
--- /dev/null
+++ b/chrome/browser/payments/chrome_payment_request_delegate.h
@@ -0,0 +1,28 @@
+// 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 CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
+#define CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
+
+#include "base/macros.h"
+#include "components/payments/payment_request_delegate.h"
+
+namespace payments {
+
+class PaymentRequest;
+
+class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
+ public:
+ ChromePaymentRequestDelegate() {}
+ ~ChromePaymentRequestDelegate() override {}
+
+ void ShowPaymentRequestDialog(PaymentRequest* request) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromePaymentRequestDelegate);
+};
+
+} // namespace payments
+
+#endif // CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/payments/chrome_payment_request_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698