OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 5 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/sequenced_task_runner.h" |
11 #include "base/task_scheduler/post_task.h" | 12 #include "base/task_scheduler/post_task.h" |
12 #include "chrome/browser/profiles/incognito_helpers.h" | 13 #include "chrome/browser/profiles/incognito_helpers.h" |
13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/search/suggestions/image_decoder_impl.h" | 15 #include "chrome/browser/search/suggestions/image_decoder_impl.h" |
15 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 16 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
16 #include "chrome/browser/signin/signin_manager_factory.h" | 17 #include "chrome/browser/signin/signin_manager_factory.h" |
17 #include "chrome/browser/sync/profile_sync_service_factory.h" | 18 #include "chrome/browser/sync/profile_sync_service_factory.h" |
18 #include "components/browser_sync/profile_sync_service.h" | 19 #include "components/browser_sync/profile_sync_service.h" |
19 #include "components/image_fetcher/core/image_fetcher.h" | 20 #include "components/image_fetcher/core/image_fetcher.h" |
20 #include "components/image_fetcher/core/image_fetcher_impl.h" | 21 #include "components/image_fetcher/core/image_fetcher_impl.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 std::move(suggestions_store), std::move(thumbnail_manager), | 99 std::move(suggestions_store), std::move(thumbnail_manager), |
99 std::move(blacklist_store)); | 100 std::move(blacklist_store)); |
100 } | 101 } |
101 | 102 |
102 void SuggestionsServiceFactory::RegisterProfilePrefs( | 103 void SuggestionsServiceFactory::RegisterProfilePrefs( |
103 user_prefs::PrefRegistrySyncable* registry) { | 104 user_prefs::PrefRegistrySyncable* registry) { |
104 SuggestionsServiceImpl::RegisterProfilePrefs(registry); | 105 SuggestionsServiceImpl::RegisterProfilePrefs(registry); |
105 } | 106 } |
106 | 107 |
107 } // namespace suggestions | 108 } // namespace suggestions |
OLD | NEW |