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

Side by Side Diff: chrome/browser/payments/payment_request_factory.h

Issue 2811593009: [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Reland after updating chrome_content_browser_client.cc to fix android build Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_ 5 #ifndef CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_
6 #define CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_ 6 #define CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_
7 7
8 #include "components/payments/content/payment_request.mojom.h" 8 #include "components/payments/mojom/payment_request.mojom.h"
9 #include "mojo/public/cpp/bindings/binding.h" 9 #include "mojo/public/cpp/bindings/binding.h"
10 10
11 namespace content { 11 namespace content {
12 class WebContents; 12 class WebContents;
13 } 13 }
14 14
15 namespace payments { 15 namespace payments {
16 16
17 // Will create a PaymentRequest attached to |web_contents|, based on the 17 // Will create a PaymentRequest attached to |web_contents|, based on the
18 // contents of |request|. This is called everytime a new Mojo PaymentRequest is 18 // contents of |request|. This is called everytime a new Mojo PaymentRequest is
19 // created. 19 // created.
20 void CreatePaymentRequestForWebContents( 20 void CreatePaymentRequestForWebContents(
21 content::WebContents* web_contents, 21 content::WebContents* web_contents,
22 mojo::InterfaceRequest<payments::mojom::PaymentRequest> request); 22 mojo::InterfaceRequest<payments::mojom::PaymentRequest> request);
23 23
24 } // namespace payments 24 } // namespace payments
25 25
26 #endif // CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_ 26 #endif // CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/views/payments/payment_request_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698