| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ | 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ |
| 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ | 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <unordered_map> | 11 #include <unordered_map> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "components/payments/mojom/payment_manifest_parser.mojom.h" | 16 #include "components/payments/content/payment_manifest_parser.mojom.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 template <class MojoInterface> | 20 template <class MojoInterface> |
| 21 class UtilityProcessMojoClient; | 21 class UtilityProcessMojoClient; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace payments { | 24 namespace payments { |
| 25 | 25 |
| 26 // Host of the utility process that parses manifest contents. | 26 // Host of the utility process that parses manifest contents. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 std::unordered_map<int64_t, PaymentMethodCallback> | 63 std::unordered_map<int64_t, PaymentMethodCallback> |
| 64 pending_payment_method_callbacks_; | 64 pending_payment_method_callbacks_; |
| 65 std::unordered_map<int64_t, WebAppCallback> pending_web_app_callbacks_; | 65 std::unordered_map<int64_t, WebAppCallback> pending_web_app_callbacks_; |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(PaymentManifestParserHost); | 67 DISALLOW_COPY_AND_ASSIGN(PaymentManifestParserHost); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace payments | 70 } // namespace payments |
| 71 | 71 |
| 72 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ | 72 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_MANIFEST_PARSER_HOST_H_ |
| OLD | NEW |