| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/prefs/pref_service.h" | |
| 11 #include "chrome/browser/profiles/incognito_helpers.h" | 10 #include "chrome/browser/profiles/incognito_helpers.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/search/suggestions/image_fetcher_impl.h" | 12 #include "chrome/browser/search/suggestions/image_fetcher_impl.h" |
| 14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 13 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
| 15 #include "chrome/browser/signin/signin_manager_factory.h" | 14 #include "chrome/browser/signin/signin_manager_factory.h" |
| 16 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 15 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 17 #include "components/leveldb_proto/proto_database.h" | 16 #include "components/leveldb_proto/proto_database.h" |
| 18 #include "components/leveldb_proto/proto_database_impl.h" | 17 #include "components/leveldb_proto/proto_database_impl.h" |
| 19 #include "components/pref_registry/pref_registry_syncable.h" | 18 #include "components/pref_registry/pref_registry_syncable.h" |
| 19 #include "components/prefs/pref_service.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_fetcher.h" | 23 #include "components/suggestions/image_fetcher.h" |
| 24 #include "components/suggestions/image_manager.h" | 24 #include "components/suggestions/image_manager.h" |
| 25 #include "components/suggestions/proto/suggestions.pb.h" | 25 #include "components/suggestions/proto/suggestions.pb.h" |
| 26 #include "components/suggestions/suggestions_service.h" | 26 #include "components/suggestions/suggestions_service.h" |
| 27 #include "components/suggestions/suggestions_store.h" | 27 #include "components/suggestions/suggestions_store.h" |
| 28 #include "content/public/browser/browser_context.h" | 28 #include "content/public/browser/browser_context.h" |
| 29 #include "content/public/browser/browser_thread.h" | 29 #include "content/public/browser/browser_thread.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 std::move(suggestions_store), std::move(thumbnail_manager), | 88 std::move(suggestions_store), std::move(thumbnail_manager), |
| 89 std::move(blacklist_store)); | 89 std::move(blacklist_store)); |
| 90 } | 90 } |
| 91 | 91 |
| 92 void SuggestionsServiceFactory::RegisterProfilePrefs( | 92 void SuggestionsServiceFactory::RegisterProfilePrefs( |
| 93 user_prefs::PrefRegistrySyncable* registry) { | 93 user_prefs::PrefRegistrySyncable* registry) { |
| 94 SuggestionsService::RegisterProfilePrefs(registry); | 94 SuggestionsService::RegisterProfilePrefs(registry); |
| 95 } | 95 } |
| 96 | 96 |
| 97 } // namespace suggestions | 97 } // namespace suggestions |
| OLD | NEW |