| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ |
| 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 #if defined(OS_ANDROID) | 23 #if defined(OS_ANDROID) |
| 24 #include "components/history/core/browser/android/android_cache_database.h" | 24 #include "components/history/core/browser/android/android_cache_database.h" |
| 25 #include "components/history/core/browser/android/android_urls_database.h" | 25 #include "components/history/core/browser/android/android_urls_database.h" |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class FilePath; | 29 class FilePath; |
| 30 } | 30 } |
| 31 | 31 |
| 32 class HistoryQuickProviderTest; | |
| 33 class InMemoryURLIndexTest; | 32 class InMemoryURLIndexTest; |
| 34 | 33 |
| 35 namespace history { | 34 namespace history { |
| 36 | 35 |
| 37 // Encapsulates the SQL connection for the history database. This class holds | 36 // Encapsulates the SQL connection for the history database. This class holds |
| 38 // the database connection and has methods the history system (including full | 37 // the database connection and has methods the history system (including full |
| 39 // text search) uses for writing and retrieving information. | 38 // text search) uses for writing and retrieving information. |
| 40 // | 39 // |
| 41 // We try to keep most logic out of the history database; this should be seen | 40 // We try to keep most logic out of the history database; this should be seen |
| 42 // as the storage interface. Logic for manipulating this storage layer should | 41 // as the storage interface. Logic for manipulating this storage layer should |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 sql::MetaTable meta_table_; | 194 sql::MetaTable meta_table_; |
| 196 | 195 |
| 197 base::Time cached_early_expiration_threshold_; | 196 base::Time cached_early_expiration_threshold_; |
| 198 | 197 |
| 199 DISALLOW_COPY_AND_ASSIGN(HistoryDatabase); | 198 DISALLOW_COPY_AND_ASSIGN(HistoryDatabase); |
| 200 }; | 199 }; |
| 201 | 200 |
| 202 } // namespace history | 201 } // namespace history |
| 203 | 202 |
| 204 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ | 203 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_DATABASE_H_ |
| OLD | NEW |