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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "build/build_config.h" | 27 #include "build/build_config.h" |
28 #include "components/favicon_base/favicon_usage_data.h" | 28 #include "components/favicon_base/favicon_usage_data.h" |
29 #include "components/history/core/browser/expire_history_backend.h" | 29 #include "components/history/core/browser/expire_history_backend.h" |
30 #include "components/history/core/browser/history_backend_notifier.h" | 30 #include "components/history/core/browser/history_backend_notifier.h" |
31 #include "components/history/core/browser/history_types.h" | 31 #include "components/history/core/browser/history_types.h" |
32 #include "components/history/core/browser/keyword_id.h" | 32 #include "components/history/core/browser/keyword_id.h" |
33 #include "components/history/core/browser/thumbnail_database.h" | 33 #include "components/history/core/browser/thumbnail_database.h" |
34 #include "components/history/core/browser/visit_tracker.h" | 34 #include "components/history/core/browser/visit_tracker.h" |
35 #include "sql/init_status.h" | 35 #include "sql/init_status.h" |
36 | 36 |
37 class HistoryURLProvider; | |
38 struct HistoryURLProviderParams; | |
39 class SkBitmap; | 37 class SkBitmap; |
40 class TestingProfile; | 38 class TestingProfile; |
41 struct ThumbnailScore; | |
42 | 39 |
43 namespace base { | 40 namespace base { |
44 class SingleThreadTaskRunner; | 41 class SingleThreadTaskRunner; |
45 } | 42 } |
46 | 43 |
47 namespace history { | 44 namespace history { |
48 class CommitLaterTask; | 45 class CommitLaterTask; |
49 struct DownloadRow; | 46 struct DownloadRow; |
50 class HistoryBackendClient; | 47 class HistoryBackendClient; |
51 class HistoryBackendDBBaseTest; | 48 class HistoryBackendDBBaseTest; |
52 class HistoryBackendObserver; | 49 class HistoryBackendObserver; |
53 class HistoryBackendTest; | 50 class HistoryBackendTest; |
54 class HistoryDatabase; | 51 class HistoryDatabase; |
55 struct HistoryDatabaseParams; | 52 struct HistoryDatabaseParams; |
56 struct HistoryDetails; | |
57 class HistoryDBTask; | 53 class HistoryDBTask; |
58 class InMemoryHistoryBackend; | 54 class InMemoryHistoryBackend; |
59 class TypedUrlSyncableService; | 55 class TypedUrlSyncableService; |
60 class HistoryBackendHelper; | 56 class HistoryBackendHelper; |
| 57 class URLDatabase; |
61 | 58 |
62 // The maximum number of icons URLs per page which can be stored in the | 59 // The maximum number of icons URLs per page which can be stored in the |
63 // thumbnail database. | 60 // thumbnail database. |
64 static const size_t kMaxFaviconsPerPage = 8; | 61 static const size_t kMaxFaviconsPerPage = 8; |
65 | 62 |
66 // The maximum number of bitmaps for a single icon URL which can be stored in | 63 // The maximum number of bitmaps for a single icon URL which can be stored in |
67 // the thumbnail database. | 64 // the thumbnail database. |
68 static const size_t kMaxFaviconBitmapsPerIconURL = 8; | 65 static const size_t kMaxFaviconBitmapsPerIconURL = 8; |
69 | 66 |
70 // Keeps track of a queued HistoryDBTask. This class lives solely on the | 67 // Keeps track of a queued HistoryDBTask. This class lives solely on the |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 | 889 |
893 // List of observers | 890 // List of observers |
894 base::ObserverList<HistoryBackendObserver> observers_; | 891 base::ObserverList<HistoryBackendObserver> observers_; |
895 | 892 |
896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 893 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
897 }; | 894 }; |
898 | 895 |
899 } // namespace history | 896 } // namespace history |
900 | 897 |
901 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ | 898 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ |
OLD | NEW |