Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: ios/chrome/browser/suggestions/suggestions_service_factory.mm

Issue 2761303002: Move common ImageFetcher component files to core/ (Closed)
Patch Set: Rebased. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/suggestions/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ios/chrome/browser/suggestions/suggestions_service_factory.h" 5 #include "ios/chrome/browser/suggestions/suggestions_service_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "base/threading/sequenced_worker_pool.h" 13 #include "base/threading/sequenced_worker_pool.h"
14 #include "components/browser_sync/profile_sync_service.h" 14 #include "components/browser_sync/profile_sync_service.h"
15 #include "components/image_fetcher/image_fetcher.h" 15 #include "components/image_fetcher/core/image_fetcher.h"
16 #include "components/image_fetcher/image_fetcher_impl.h" 16 #include "components/image_fetcher/core/image_fetcher_impl.h"
17 #include "components/image_fetcher/ios/ios_image_decoder_impl.h" 17 #include "components/image_fetcher/ios/ios_image_decoder_impl.h"
18 #include "components/keyed_service/ios/browser_state_dependency_manager.h" 18 #include "components/keyed_service/ios/browser_state_dependency_manager.h"
19 #include "components/leveldb_proto/proto_database_impl.h" 19 #include "components/leveldb_proto/proto_database_impl.h"
20 #include "components/signin/core/browser/profile_oauth2_token_service.h" 20 #include "components/signin/core/browser/profile_oauth2_token_service.h"
21 #include "components/signin/core/browser/signin_manager.h" 21 #include "components/signin/core/browser/signin_manager.h"
22 #include "components/suggestions/blacklist_store.h" 22 #include "components/suggestions/blacklist_store.h"
23 #include "components/suggestions/image_manager.h" 23 #include "components/suggestions/image_manager.h"
24 #include "components/suggestions/suggestions_service_impl.h" 24 #include "components/suggestions/suggestions_service_impl.h"
25 #include "components/suggestions/suggestions_store.h" 25 #include "components/suggestions/suggestions_store.h"
26 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 26 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 browser_state->GetRequestContext(), std::move(suggestions_store), 105 browser_state->GetRequestContext(), std::move(suggestions_store),
106 std::move(thumbnail_manager), std::move(blacklist_store)); 106 std::move(thumbnail_manager), std::move(blacklist_store));
107 } 107 }
108 108
109 void SuggestionsServiceFactory::RegisterBrowserStatePrefs( 109 void SuggestionsServiceFactory::RegisterBrowserStatePrefs(
110 user_prefs::PrefRegistrySyncable* registry) { 110 user_prefs::PrefRegistrySyncable* registry) {
111 SuggestionsServiceImpl::RegisterProfilePrefs(registry); 111 SuggestionsServiceImpl::RegisterProfilePrefs(registry);
112 } 112 }
113 113
114 } // namespace suggestions 114 } // namespace suggestions
OLDNEW
« no previous file with comments | « ios/chrome/browser/suggestions/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698