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

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

Issue 2866623003: PaymentRequest.canMakePayment() query quota on desktop. (Closed)
Patch Set: Created 3 years, 7 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/payment_request_factory.h
diff --git a/chrome/browser/payments/payment_request_factory.h b/chrome/browser/payments/payment_request_factory.h
index 8188568e3a040bc2b98cb8543f79fcd4659d5bae..5f072942e080dc41fc12ed709d1ef54e01316d27 100644
--- a/chrome/browser/payments/payment_request_factory.h
+++ b/chrome/browser/payments/payment_request_factory.h
@@ -10,18 +10,19 @@
#include "services/service_manager/public/cpp/bind_source_info.h"
namespace content {
+class RenderFrameHost;
class WebContents;
}
namespace payments {
-// Will create a PaymentRequest attached to |web_contents|, based on the
-// contents of |request|. This is called everytime a new Mojo PaymentRequest is
-// created.
-void CreatePaymentRequestForWebContents(
- content::WebContents* web_contents,
- const service_manager::BindSourceInfo& source_info,
- payments::mojom::PaymentRequestRequest request);
+// Will create a PaymentRequest attached to |render_frame_host| and the
Mathieu 2017/05/08 15:28:11 can you modify your comment to explain to future r
please use gerrit instead 2017/05/08 17:28:47 Done, I think? Sorry, explaining complex concepts
+// associated |web_contents|, based on the contents of |request|. This is called
+// everytime a new Mojo PaymentRequest is created.
+void CreatePaymentRequest(content::RenderFrameHost* render_frame_host,
+ content::WebContents* web_contents,
+ const service_manager::BindSourceInfo& source_info,
+ mojom::PaymentRequestRequest request);
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698