OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_THUMBNAIL_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H_ |
6 #define CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "app/sql/connection.h" | 10 #include "app/sql/connection.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 void InitFavIconsIndex(); | 175 void InitFavIconsIndex(); |
176 | 176 |
177 sql::Connection db_; | 177 sql::Connection db_; |
178 sql::MetaTable meta_table_; | 178 sql::MetaTable meta_table_; |
179 | 179 |
180 // This object is created and managed by the history backend. We maintain an | 180 // This object is created and managed by the history backend. We maintain an |
181 // opaque pointer to the object for our use. | 181 // opaque pointer to the object for our use. |
182 // This can be NULL if there are no indexers registered to receive indexing | 182 // This can be NULL if there are no indexers registered to receive indexing |
183 // data from us. | 183 // data from us. |
184 const HistoryPublisher* history_publisher_; | 184 const HistoryPublisher* history_publisher_; |
| 185 |
| 186 // True if migration to TopSites has been done and the thumbnails |
| 187 // table should not be used. |
| 188 bool use_top_sites_; |
185 }; | 189 }; |
186 | 190 |
187 } // namespace history | 191 } // namespace history |
188 | 192 |
189 #endif // CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H_ | 193 #endif // CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H_ |
OLD | NEW |