OLD | NEW |
---|---|
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 <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "components/payments/payment_app.mojom.h" | |
please use gerrit instead
2017/01/23 13:28:07
This include seems unnecessary.
zino
2017/01/23 17:31:08
Done.
| |
12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class BrowserContext; | 17 class BrowserContext; |
17 | 18 |
18 // This is providing the service worker based payment app related APIs to | 19 // This is providing the service worker based payment app related APIs to |
19 // Chrome layer. This class is a singleton, the instance of which can be | 20 // Chrome layer. This class is a singleton, the instance of which can be |
20 // retrieved using the static GetInstance() method. | 21 // retrieved using the static GetInstance() method. |
21 // All methods must be called on the UI thread. | 22 // All methods must be called on the UI thread. |
(...skipping 18 matching lines...) Expand all Loading... | |
40 int64_t registration_id, | 41 int64_t registration_id, |
41 payments::mojom::PaymentAppRequestDataPtr data) = 0; | 42 payments::mojom::PaymentAppRequestDataPtr data) = 0; |
42 | 43 |
43 protected: | 44 protected: |
44 virtual ~PaymentAppProvider() {} | 45 virtual ~PaymentAppProvider() {} |
45 }; | 46 }; |
46 | 47 |
47 } // namespace content | 48 } // namespace content |
48 | 49 |
49 #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ | 50 #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ |
OLD | NEW |