| 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_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
| 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/sql/connection.h" | |
| 10 #include "app/sql/init_status.h" | |
| 11 #include "app/sql/meta_table.h" | |
| 12 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/webdata/autofill_table.h" | 10 #include "chrome/browser/webdata/autofill_table.h" |
| 14 #include "chrome/browser/webdata/keyword_table.h" | 11 #include "chrome/browser/webdata/keyword_table.h" |
| 15 #include "chrome/browser/webdata/logins_table.h" | 12 #include "chrome/browser/webdata/logins_table.h" |
| 16 #include "chrome/browser/webdata/token_service_table.h" | 13 #include "chrome/browser/webdata/token_service_table.h" |
| 17 #include "chrome/browser/webdata/web_apps_table.h" | 14 #include "chrome/browser/webdata/web_apps_table.h" |
| 15 #include "sql/connection.h" |
| 16 #include "sql/init_status.h" |
| 17 #include "sql/meta_table.h" |
| 18 | 18 |
| 19 class FilePath; | 19 class FilePath; |
| 20 class NotificationService; | 20 class NotificationService; |
| 21 | 21 |
| 22 // This class manages a SQLite database that stores various web page meta data. | 22 // This class manages a SQLite database that stores various web page meta data. |
| 23 class WebDatabase { | 23 class WebDatabase { |
| 24 public: | 24 public: |
| 25 WebDatabase(); | 25 WebDatabase(); |
| 26 virtual ~WebDatabase(); | 26 virtual ~WebDatabase(); |
| 27 | 27 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 55 scoped_ptr<LoginsTable> logins_table_; | 55 scoped_ptr<LoginsTable> logins_table_; |
| 56 scoped_ptr<TokenServiceTable> token_service_table_; | 56 scoped_ptr<TokenServiceTable> token_service_table_; |
| 57 scoped_ptr<WebAppsTable> web_apps_table_; | 57 scoped_ptr<WebAppsTable> web_apps_table_; |
| 58 | 58 |
| 59 scoped_ptr<NotificationService> notification_service_; | 59 scoped_ptr<NotificationService> notification_service_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 61 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 64 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
| OLD | NEW |