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_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ | 5 #ifndef COMPONENTS_PAYMENTS_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ |
6 #define COMPONENTS_PAYMENTS_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ | 6 #define COMPONENTS_PAYMENTS_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "components/payments/mojom/payment_manifest_parser.mojom.h" | 11 #include "components/payments/content/payment_manifest_parser.mojom.h" |
12 #include "components/webdata/common/web_database.h" | 12 #include "components/webdata/common/web_database.h" |
13 #include "components/webdata/common/web_database_table.h" | 13 #include "components/webdata/common/web_database_table.h" |
14 | 14 |
15 namespace payments { | 15 namespace payments { |
16 | 16 |
17 // This class manages web_app_manifest_section table in SQLite database. It | 17 // This class manages web_app_manifest_section table in SQLite database. It |
18 // expects the following schema. | 18 // expects the following schema. |
19 // The interfaces should only be accessed on DB thread. | 19 // The interfaces should only be accessed on DB thread. |
20 // | 20 // |
21 // web_app_manifest_section The table stores the contents in | 21 // web_app_manifest_section The table stores the contents in |
(...skipping 26 matching lines...) Expand all Loading... |
48 // the |web_app|. | 48 // the |web_app|. |
49 mojom::WebAppManifestSectionPtr GetWebAppManifest(const std::string& web_app); | 49 mojom::WebAppManifestSectionPtr GetWebAppManifest(const std::string& web_app); |
50 | 50 |
51 private: | 51 private: |
52 DISALLOW_COPY_AND_ASSIGN(WebAppManifestSectionTable); | 52 DISALLOW_COPY_AND_ASSIGN(WebAppManifestSectionTable); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace payments | 55 } // namespace payments |
56 | 56 |
57 #endif // COMPONENTS_PAYMENTS_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ | 57 #endif // COMPONENTS_PAYMENTS_ANDROID_WEB_APP_MANIFEST_SECTION_TABLE_H_ |
OLD | NEW |