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

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

Issue 2611253004: [Payment Request] Change the lifetime management of PaymentRequestImpl (Closed)
Patch Set: added a browser test 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.cc
diff --git a/chrome/browser/payments/chrome_payment_request_delegate.cc b/chrome/browser/payments/chrome_payment_request_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..717dc4240ac90b50029ac59dab82bdc6a95b4136
--- /dev/null
+++ b/chrome/browser/payments/chrome_payment_request_delegate.cc
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
please use gerrit instead 2017/01/06 21:49:09 2017
Mathieu 2017/01/07 05:03:07 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/payments/chrome_payment_request_delegate.h"
+
+#include "chrome/browser/ui/browser_dialogs.h"
+#include "components/payments/payment_request_impl.h"
please use gerrit instead 2017/01/06 21:49:09 May not need to include payment_request_impl.h. Fo
Mathieu 2017/01/07 05:03:07 Done.
+
+namespace payments {
+
+void ChromePaymentRequestDelegate::ShowPaymentRequestDialog(
+ PaymentRequestImpl* impl) {
+ chrome::ShowPaymentRequestDialog(impl);
+}
+
+} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698