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

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

Issue 2611253004: [Payment Request] Change the lifetime management of PaymentRequestImpl (Closed)
Patch Set: addressed comments 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..3e47123977748eb862315e6326a4e37e3aa89fc8
--- /dev/null
+++ b/chrome/browser/payments/chrome_payment_request_delegate.h
@@ -0,0 +1,21 @@
+// 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 "components/payments/payment_request_delegate.h"
+
+namespace payments {
+
+class PaymentRequestImpl;
+
+class ChromePaymentRequestDelegate : public PaymentRequestDelegate {
+ public:
+ void ShowPaymentRequestDialog(PaymentRequestImpl* impl) override;
+};
please use gerrit instead 2017/01/09 14:50:13 Need to override the destructor from the parent an
Mathieu 2017/01/09 16:54:19 Done.
+
+} // namespace payments
+
+#endif // CHROME_BROWSER_PAYMENTS_CHROME_PAYMENT_REQUEST_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698