| 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 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/containers/mru_cache.h" | 13 #include "base/containers/mru_cache.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/memory_pressure_listener.h" | 16 #include "base/memory/memory_pressure_listener.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
| 19 #include "base/task/cancelable_task_tracker.h" | 19 #include "base/task/cancelable_task_tracker.h" |
| 20 #include "chrome/browser/history/expire_history_backend.h" | 20 #include "chrome/browser/history/expire_history_backend.h" |
| 21 #include "chrome/browser/history/history_database.h" | 21 #include "chrome/browser/history/history_database.h" |
| 22 #include "chrome/browser/history/history_types.h" | |
| 23 #include "chrome/browser/history/thumbnail_database.h" | 22 #include "chrome/browser/history/thumbnail_database.h" |
| 24 #include "chrome/browser/history/visit_tracker.h" | 23 #include "chrome/browser/history/visit_tracker.h" |
| 24 #include "components/history/core/browser/history_types.h" |
| 25 #include "components/history/core/browser/keyword_id.h" | 25 #include "components/history/core/browser/keyword_id.h" |
| 26 #include "components/visitedlink/browser/visitedlink_delegate.h" | 26 #include "components/visitedlink/browser/visitedlink_delegate.h" |
| 27 #include "sql/init_status.h" | 27 #include "sql/init_status.h" |
| 28 | 28 |
| 29 #if defined(OS_ANDROID) | 29 #if defined(OS_ANDROID) |
| 30 #include "chrome/browser/history/android/android_history_types.h" | 30 #include "components/history/core/android/android_history_types.h" |
| 31 #endif | 31 #endif |
| 32 | 32 |
| 33 class HistoryURLProvider; | 33 class HistoryURLProvider; |
| 34 struct HistoryURLProviderParams; | 34 struct HistoryURLProviderParams; |
| 35 struct ImportedFaviconUsage; | 35 struct ImportedFaviconUsage; |
| 36 class SkBitmap; | 36 class SkBitmap; |
| 37 class TestingProfile; | 37 class TestingProfile; |
| 38 struct ThumbnailScore; | 38 struct ThumbnailScore; |
| 39 | 39 |
| 40 namespace base { | 40 namespace base { |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 | 892 |
| 893 // Listens for the system being under memory pressure. | 893 // Listens for the system being under memory pressure. |
| 894 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 894 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 895 | 895 |
| 896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 897 }; | 897 }; |
| 898 | 898 |
| 899 } // namespace history | 899 } // namespace history |
| 900 | 900 |
| 901 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 901 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |