| 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_TEXT_DATABASE_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_ |
| 6 #define CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_ | 6 #define CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "base/task.h" | 16 #include "base/task.h" |
| 17 #include "chrome/browser/history/history_types.h" | 17 #include "chrome/browser/history/history_types.h" |
| 18 #include "chrome/browser/history/text_database.h" | 18 #include "chrome/browser/history/text_database.h" |
| 19 #include "chrome/browser/history/query_parser.h" | 19 #include "chrome/browser/history/query_parser.h" |
| 20 #include "chrome/browser/history/url_database.h" | 20 #include "chrome/browser/history/url_database.h" |
| 21 #include "chrome/common/mru_cache.h" | 21 #include "content/common/mru_cache.h" |
| 22 | 22 |
| 23 struct sqlite3; | 23 struct sqlite3; |
| 24 | 24 |
| 25 namespace history { | 25 namespace history { |
| 26 | 26 |
| 27 class HistoryPublisher; | 27 class HistoryPublisher; |
| 28 class VisitDatabase; | 28 class VisitDatabase; |
| 29 | 29 |
| 30 // Manages a set of text databases representing different time periods. This | 30 // Manages a set of text databases representing different time periods. This |
| 31 // will page them in and out as necessary, and will manage queries for times | 31 // will page them in and out as necessary, and will manage queries for times |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 // This can be NULL if there are no indexers registered to receive indexing | 305 // This can be NULL if there are no indexers registered to receive indexing |
| 306 // data from us. | 306 // data from us. |
| 307 const HistoryPublisher* history_publisher_; | 307 const HistoryPublisher* history_publisher_; |
| 308 | 308 |
| 309 DISALLOW_COPY_AND_ASSIGN(TextDatabaseManager); | 309 DISALLOW_COPY_AND_ASSIGN(TextDatabaseManager); |
| 310 }; | 310 }; |
| 311 | 311 |
| 312 } // namespace history | 312 } // namespace history |
| 313 | 313 |
| 314 #endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_ | 314 #endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_ |
| OLD | NEW |