| 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_HISTORY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/lock.h" | 12 #include "base/lock.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/scoped_vector.h" |
| 14 #include "base/task.h" | 15 #include "base/task.h" |
| 15 #include "chrome/browser/history/archived_database.h" | 16 #include "chrome/browser/history/archived_database.h" |
| 16 #include "chrome/browser/history/download_types.h" | 17 #include "chrome/browser/history/download_types.h" |
| 17 #include "chrome/browser/history/expire_history_backend.h" | 18 #include "chrome/browser/history/expire_history_backend.h" |
| 18 #include "chrome/browser/history/history_database.h" | 19 #include "chrome/browser/history/history_database.h" |
| 19 #include "chrome/browser/history/history_marshaling.h" | 20 #include "chrome/browser/history/history_marshaling.h" |
| 20 #include "chrome/browser/history/history_types.h" | 21 #include "chrome/browser/history/history_types.h" |
| 21 #include "chrome/browser/history/page_usage_data.h" | 22 #include "chrome/browser/history/page_usage_data.h" |
| 22 #include "chrome/browser/history/text_database_manager.h" | 23 #include "chrome/browser/history/text_database_manager.h" |
| 23 #include "chrome/browser/history/thumbnail_database.h" | 24 #include "chrome/browser/history/thumbnail_database.h" |
| 24 #include "chrome/browser/history/visit_tracker.h" | 25 #include "chrome/browser/history/visit_tracker.h" |
| 25 #include "chrome/common/mru_cache.h" | 26 #include "chrome/common/mru_cache.h" |
| 26 #include "chrome/common/scoped_vector.h" | |
| 27 #include "testing/gtest/include/gtest/gtest_prod.h" | 27 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 28 | 28 |
| 29 class BookmarkService; | 29 class BookmarkService; |
| 30 class TestingProfile; | 30 class TestingProfile; |
| 31 struct ThumbnailScore; | 31 struct ThumbnailScore; |
| 32 | 32 |
| 33 namespace history { | 33 namespace history { |
| 34 | 34 |
| 35 class CommitLaterTask; | 35 class CommitLaterTask; |
| 36 class HistoryPublisher; | 36 class HistoryPublisher; |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 // Publishes the history to all indexers which are registered to receive | 496 // Publishes the history to all indexers which are registered to receive |
| 497 // history data from us. Can be NULL if there are no listeners. | 497 // history data from us. Can be NULL if there are no listeners. |
| 498 scoped_ptr<HistoryPublisher> history_publisher_; | 498 scoped_ptr<HistoryPublisher> history_publisher_; |
| 499 | 499 |
| 500 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 500 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 501 }; | 501 }; |
| 502 | 502 |
| 503 } // namespace history | 503 } // namespace history |
| 504 | 504 |
| 505 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 505 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |