OLD | NEW |
1 // Copyright (c) 2010 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_HISTORY_HISTORY_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_DATABASE_H_ |
6 #define CHROME_BROWSER_HISTORY_HISTORY_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_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 "build/build_config.h" | 9 #include "build/build_config.h" |
13 #include "chrome/browser/history/download_database.h" | 10 #include "chrome/browser/history/download_database.h" |
14 #include "chrome/browser/history/history_types.h" | 11 #include "chrome/browser/history/history_types.h" |
15 #include "chrome/browser/history/starred_url_database.h" | 12 #include "chrome/browser/history/starred_url_database.h" |
16 #include "chrome/browser/history/url_database.h" | 13 #include "chrome/browser/history/url_database.h" |
17 #include "chrome/browser/history/visit_database.h" | 14 #include "chrome/browser/history/visit_database.h" |
18 #include "chrome/browser/history/visitsegment_database.h" | 15 #include "chrome/browser/history/visitsegment_database.h" |
| 16 #include "sql/connection.h" |
| 17 #include "sql/init_status.h" |
| 18 #include "sql/meta_table.h" |
19 | 19 |
20 class FilePath; | 20 class FilePath; |
21 | 21 |
22 namespace history { | 22 namespace history { |
23 | 23 |
24 // Forward declaration for the temporary migration code in Init(). | 24 // Forward declaration for the temporary migration code in Init(). |
25 class TextDatabaseManager; | 25 class TextDatabaseManager; |
26 | 26 |
27 // Encapsulates the SQL connection for the history database. This class holds | 27 // Encapsulates the SQL connection for the history database. This class holds |
28 // the database connection and has methods the history system (including full | 28 // the database connection and has methods the history system (including full |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 // See the getters above. | 176 // See the getters above. |
177 bool needs_version_17_migration_; | 177 bool needs_version_17_migration_; |
178 | 178 |
179 DISALLOW_COPY_AND_ASSIGN(HistoryDatabase); | 179 DISALLOW_COPY_AND_ASSIGN(HistoryDatabase); |
180 }; | 180 }; |
181 | 181 |
182 } // history | 182 } // history |
183 | 183 |
184 #endif // CHROME_BROWSER_HISTORY_HISTORY_DATABASE_H_ | 184 #endif // CHROME_BROWSER_HISTORY_HISTORY_DATABASE_H_ |
OLD | NEW |