| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_URL_DATABASE_H__ | 5 #ifndef CHROME_BROWSER_HISTORY_URL_DATABASE_H__ |
| 6 #define CHROME_BROWSER_HISTORY_URL_DATABASE_H__ | 6 #define CHROME_BROWSER_HISTORY_URL_DATABASE_H__ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/history/history_types.h" | 9 #include "chrome/browser/history/history_types.h" |
| 10 #include "chrome/browser/template_url.h" | 10 #include "chrome/browser/search_engines/template_url.h" |
| 11 | 11 |
| 12 // Temporary until DBCloseScoper moves elsewhere. | 12 // Temporary until DBCloseScoper moves elsewhere. |
| 13 #include "chrome/common/sqlite_compiled_statement.h" | 13 #include "chrome/common/sqlite_compiled_statement.h" |
| 14 | 14 |
| 15 class GURL; | 15 class GURL; |
| 16 struct sqlite3; | 16 struct sqlite3; |
| 17 class SqliteStatementCache; | 17 class SqliteStatementCache; |
| 18 | 18 |
| 19 namespace history { | 19 namespace history { |
| 20 | 20 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // string, it will save time doing string appends. If you have to build a SQL | 300 // string, it will save time doing string appends. If you have to build a SQL |
| 301 // string dynamically anyway, use the constant, it will save space. | 301 // string dynamically anyway, use the constant, it will save space. |
| 302 #define HISTORY_URL_ROW_FIELDS \ | 302 #define HISTORY_URL_ROW_FIELDS \ |
| 303 " urls.id, urls.url, urls.title, urls.visit_count, urls.typed_count, " \ | 303 " urls.id, urls.url, urls.title, urls.visit_count, urls.typed_count, " \ |
| 304 "urls.last_visit_time, urls.hidden, urls.favicon_id " | 304 "urls.last_visit_time, urls.hidden, urls.favicon_id " |
| 305 | 305 |
| 306 } // history | 306 } // history |
| 307 | 307 |
| 308 #endif // CHROME_BROWSER_HISTORY_URL_DATABASE_H__ | 308 #endif // CHROME_BROWSER_HISTORY_URL_DATABASE_H__ |
| 309 | 309 |
| OLD | NEW |