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