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_SERVICE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "components/history/core/browser/keyword_id.h" | 35 #include "components/history/core/browser/keyword_id.h" |
36 #include "components/history/core/browser/typed_url_syncable_service.h" | 36 #include "components/history/core/browser/typed_url_syncable_service.h" |
37 #include "components/keyed_service/core/keyed_service.h" | 37 #include "components/keyed_service/core/keyed_service.h" |
38 #include "components/sync/model/syncable_service.h" | 38 #include "components/sync/model/syncable_service.h" |
39 #include "sql/init_status.h" | 39 #include "sql/init_status.h" |
40 #include "ui/base/page_transition_types.h" | 40 #include "ui/base/page_transition_types.h" |
41 | 41 |
42 class GURL; | 42 class GURL; |
43 class HistoryQuickProviderTest; | 43 class HistoryQuickProviderTest; |
44 class HistoryURLProvider; | 44 class HistoryURLProvider; |
45 class HistoryURLProviderTest; | |
46 class InMemoryURLIndexTest; | 45 class InMemoryURLIndexTest; |
47 class SkBitmap; | 46 class SkBitmap; |
48 class SyncBookmarkDataTypeControllerTest; | 47 class SyncBookmarkDataTypeControllerTest; |
49 class TestingProfile; | 48 class TestingProfile; |
50 | 49 |
51 namespace base { | 50 namespace base { |
52 class FilePath; | 51 class FilePath; |
53 class Thread; | 52 class Thread; |
54 } | 53 } |
55 | 54 |
56 namespace favicon { | 55 namespace favicon { |
57 class FaviconService; | 56 class FaviconService; |
58 } | 57 } |
59 | 58 |
60 namespace history { | 59 namespace history { |
61 | 60 |
62 struct DownloadRow; | 61 struct DownloadRow; |
63 struct HistoryAddPageArgs; | 62 struct HistoryAddPageArgs; |
64 class HistoryBackend; | 63 class HistoryBackend; |
65 class HistoryClient; | 64 class HistoryClient; |
66 class HistoryDBTask; | 65 class HistoryDBTask; |
67 class HistoryDatabase; | |
68 struct HistoryDatabaseParams; | 66 struct HistoryDatabaseParams; |
69 class HistoryQueryTest; | 67 class HistoryQueryTest; |
70 class HistoryServiceObserver; | 68 class HistoryServiceObserver; |
71 class HistoryServiceTest; | 69 class HistoryServiceTest; |
72 class InMemoryHistoryBackend; | 70 class InMemoryHistoryBackend; |
73 struct KeywordSearchTermVisit; | |
74 class URLDatabase; | 71 class URLDatabase; |
75 class VisitDelegate; | 72 class VisitDelegate; |
76 class WebHistoryService; | 73 class WebHistoryService; |
77 | 74 |
78 // The history service records page titles, and visit times, as well as | 75 // The history service records page titles, and visit times, as well as |
79 // (eventually) information about autocomplete. | 76 // (eventually) information about autocomplete. |
80 // | 77 // |
81 // This service is thread safe. Each request callback is invoked in the | 78 // This service is thread safe. Each request callback is invoked in the |
82 // thread that made the request. | 79 // thread that made the request. |
83 class HistoryService : public syncer::SyncableService, public KeyedService { | 80 class HistoryService : public syncer::SyncableService, public KeyedService { |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 | 836 |
840 // All vended weak pointers are invalidated in Cleanup(). | 837 // All vended weak pointers are invalidated in Cleanup(). |
841 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; | 838 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; |
842 | 839 |
843 DISALLOW_COPY_AND_ASSIGN(HistoryService); | 840 DISALLOW_COPY_AND_ASSIGN(HistoryService); |
844 }; | 841 }; |
845 | 842 |
846 } // namespace history | 843 } // namespace history |
847 | 844 |
848 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ | 845 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ |
OLD | NEW |