OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ |
6 #define CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ | 6 #define CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/webdata/web_database_table.h" | 11 #include "components/webdata/common/web_database_table.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 class SkBitmap; | 14 class SkBitmap; |
15 class WebDatabase; | 15 class WebDatabase; |
16 | 16 |
17 // This class manages the WebApps tables within the SQLite database passed to | 17 // This class manages the WebApps tables within the SQLite database passed to |
18 // the constructor. It expects the following schema: | 18 // the constructor. It expects the following schema: |
19 // | 19 // |
20 // Note: The database stores time in seconds, UTC. | 20 // Note: The database stores time in seconds, UTC. |
21 // | 21 // |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool RemoveWebApp(const GURL& url); | 56 bool RemoveWebApp(const GURL& url); |
57 | 57 |
58 private: | 58 private: |
59 bool InitWebAppIconsTable(); | 59 bool InitWebAppIconsTable(); |
60 bool InitWebAppsTable(); | 60 bool InitWebAppsTable(); |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(WebAppsTable); | 62 DISALLOW_COPY_AND_ASSIGN(WebAppsTable); |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ | 65 #endif // CHROME_BROWSER_WEBDATA_WEB_APPS_TABLE_H_ |
OLD | NEW |