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

Side by Side Diff: content/public/browser/payment_app_provider.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
« no previous file with comments | « content/public/browser/DEPS ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_
6 #define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ 6 #define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "components/payments/content/payment_app.mojom.h" 13 #include "components/payments/mojom/payment_app.mojom.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class BrowserContext; 18 class BrowserContext;
19 19
20 // This is providing the service worker based payment app related APIs to 20 // This is providing the service worker based payment app related APIs to
21 // Chrome layer. This class is a singleton, the instance of which can be 21 // Chrome layer. This class is a singleton, the instance of which can be
22 // retrieved using the static GetInstance() method. 22 // retrieved using the static GetInstance() method.
23 // All methods must be called on the UI thread. 23 // All methods must be called on the UI thread.
(...skipping 24 matching lines...) Expand all
48 payments::mojom::PaymentAppRequestPtr app_request, 48 payments::mojom::PaymentAppRequestPtr app_request,
49 const InvokePaymentAppCallback& callback) = 0; 49 const InvokePaymentAppCallback& callback) = 0;
50 50
51 protected: 51 protected:
52 virtual ~PaymentAppProvider() {} 52 virtual ~PaymentAppProvider() {}
53 }; 53 };
54 54
55 } // namespace content 55 } // namespace content
56 56
57 #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ 57 #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/public/browser/DEPS ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698