| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 class SkBitmap; | 46 class SkBitmap; |
| 47 class SyncBookmarkDataTypeControllerTest; | 47 class SyncBookmarkDataTypeControllerTest; |
| 48 class TestingProfile; | 48 class TestingProfile; |
| 49 | 49 |
| 50 namespace base { | 50 namespace base { |
| 51 class FilePath; | 51 class FilePath; |
| 52 class Thread; | 52 class Thread; |
| 53 } | 53 } |
| 54 | 54 |
| 55 namespace favicon { | 55 namespace favicon { |
| 56 class FaviconService; | 56 class FaviconServiceImpl; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace history { | 59 namespace history { |
| 60 | 60 |
| 61 struct DownloadRow; | 61 struct DownloadRow; |
| 62 struct HistoryAddPageArgs; | 62 struct HistoryAddPageArgs; |
| 63 class HistoryBackend; | 63 class HistoryBackend; |
| 64 class HistoryClient; | 64 class HistoryClient; |
| 65 class HistoryDBTask; | 65 class HistoryDBTask; |
| 66 struct HistoryDatabaseParams; | 66 struct HistoryDatabaseParams; |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 enum SchedulePriority { | 537 enum SchedulePriority { |
| 538 PRIORITY_UI, // The highest priority (must respond to UI events). | 538 PRIORITY_UI, // The highest priority (must respond to UI events). |
| 539 PRIORITY_NORMAL, // Normal stuff like adding a page. | 539 PRIORITY_NORMAL, // Normal stuff like adding a page. |
| 540 PRIORITY_LOW, // Low priority things like indexing or expiration. | 540 PRIORITY_LOW, // Low priority things like indexing or expiration. |
| 541 }; | 541 }; |
| 542 | 542 |
| 543 private: | 543 private: |
| 544 class BackendDelegate; | 544 class BackendDelegate; |
| 545 friend class base::RefCountedThreadSafe<HistoryService>; | 545 friend class base::RefCountedThreadSafe<HistoryService>; |
| 546 friend class BackendDelegate; | 546 friend class BackendDelegate; |
| 547 friend class favicon::FaviconService; | 547 friend class favicon::FaviconServiceImpl; |
| 548 friend class HistoryBackend; | 548 friend class HistoryBackend; |
| 549 friend class HistoryQueryTest; | 549 friend class HistoryQueryTest; |
| 550 friend class ::HistoryQuickProviderTest; | 550 friend class ::HistoryQuickProviderTest; |
| 551 friend class HistoryServiceTest; | 551 friend class HistoryServiceTest; |
| 552 friend class ::HistoryURLProvider; | 552 friend class ::HistoryURLProvider; |
| 553 friend class HQPPerfTestOnePopularURL; | 553 friend class HQPPerfTestOnePopularURL; |
| 554 friend class ::InMemoryURLIndexTest; | 554 friend class ::InMemoryURLIndexTest; |
| 555 friend class ::SyncBookmarkDataTypeControllerTest; | 555 friend class ::SyncBookmarkDataTypeControllerTest; |
| 556 friend class ::TestingProfile; | 556 friend class ::TestingProfile; |
| 557 friend std::unique_ptr<HistoryService> CreateHistoryService( | 557 friend std::unique_ptr<HistoryService> CreateHistoryService( |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 | 836 |
| 837 // All vended weak pointers are invalidated in Cleanup(). | 837 // All vended weak pointers are invalidated in Cleanup(). |
| 838 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; | 838 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; |
| 839 | 839 |
| 840 DISALLOW_COPY_AND_ASSIGN(HistoryService); | 840 DISALLOW_COPY_AND_ASSIGN(HistoryService); |
| 841 }; | 841 }; |
| 842 | 842 |
| 843 } // namespace history | 843 } // namespace history |
| 844 | 844 |
| 845 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ | 845 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ |
| OLD | NEW |