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_UTILITY_PAYMENT_MANIFEST_PARSER_H_ | 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_UTILITY_PAYMENT_MANIFEST_PARSER_H_ |
6 #define COMPONENTS_PAYMENTS_CONTENT_UTILITY_PAYMENT_MANIFEST_PARSER_H_ | 6 #define COMPONENTS_PAYMENTS_CONTENT_UTILITY_PAYMENT_MANIFEST_PARSER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "components/payments/content/payment_manifest_parser.mojom.h" | 12 #include "components/payments/mojom/payment_manifest_parser.mojom.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace payments { | 15 namespace payments { |
16 | 16 |
17 // Parser for payment method manifests and web app manifests. Should be used | 17 // Parser for payment method manifests and web app manifests. Should be used |
18 // only in a sandboxed utility process. | 18 // only in a sandboxed utility process. |
19 // | 19 // |
20 // Example valid payment method manifest structure: | 20 // Example valid payment method manifest structure: |
21 // | 21 // |
22 // { | 22 // { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void ParseWebAppManifest(const std::string& content, | 61 void ParseWebAppManifest(const std::string& content, |
62 const ParseWebAppManifestCallback& callack) override; | 62 const ParseWebAppManifestCallback& callack) override; |
63 | 63 |
64 private: | 64 private: |
65 DISALLOW_COPY_AND_ASSIGN(PaymentManifestParser); | 65 DISALLOW_COPY_AND_ASSIGN(PaymentManifestParser); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace payments | 68 } // namespace payments |
69 | 69 |
70 #endif // COMPONENTS_PAYMENTS_CONTENT_UTILITY_PAYMENT_MANIFEST_PARSER_H_ | 70 #endif // COMPONENTS_PAYMENTS_CONTENT_UTILITY_PAYMENT_MANIFEST_PARSER_H_ |
OLD | NEW |