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/invalidation/profile_invalidation_provider_factory.h" | 5 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/prefs/pref_registry.h" | 8 #include "base/prefs/pref_registry.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "components/invalidation/impl/ticl_settings_provider.h" | 23 #include "components/invalidation/impl/ticl_settings_provider.h" |
24 #include "components/invalidation/public/invalidation_service.h" | 24 #include "components/invalidation/public/invalidation_service.h" |
25 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 25 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
26 #include "components/pref_registry/pref_registry_syncable.h" | 26 #include "components/pref_registry/pref_registry_syncable.h" |
27 #include "components/signin/core/browser/profile_identity_provider.h" | 27 #include "components/signin/core/browser/profile_identity_provider.h" |
28 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 28 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
29 #include "components/signin/core/browser/signin_manager.h" | 29 #include "components/signin/core/browser/signin_manager.h" |
30 #include "net/url_request/url_request_context_getter.h" | 30 #include "net/url_request/url_request_context_getter.h" |
31 | 31 |
32 #if defined(OS_ANDROID) | 32 #if defined(OS_ANDROID) |
33 #include "base/android/jni_android.h" | 33 #include "base/android/context_utils.h" |
34 #include "components/invalidation/impl/invalidation_service_android.h" | 34 #include "components/invalidation/impl/invalidation_service_android.h" |
35 #endif // defined(OS_ANDROID) | 35 #endif // defined(OS_ANDROID) |
36 | 36 |
37 #if defined(OS_CHROMEOS) | 37 #if defined(OS_CHROMEOS) |
38 #include "base/files/file_path.h" | 38 #include "base/files/file_path.h" |
39 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 39 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
40 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 40 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
41 #include "chrome/browser/chromeos/settings/device_identity_provider.h" | 41 #include "chrome/browser/chromeos/settings/device_identity_provider.h" |
42 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" | 42 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" |
43 #include "components/user_manager/user_manager.h" | 43 #include "components/user_manager/user_manager.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 #endif | 136 #endif |
137 } | 137 } |
138 | 138 |
139 void ProfileInvalidationProviderFactory::RegisterProfilePrefs( | 139 void ProfileInvalidationProviderFactory::RegisterProfilePrefs( |
140 user_prefs::PrefRegistrySyncable* registry) { | 140 user_prefs::PrefRegistrySyncable* registry) { |
141 ProfileInvalidationProvider::RegisterProfilePrefs(registry); | 141 ProfileInvalidationProvider::RegisterProfilePrefs(registry); |
142 InvalidatorStorage::RegisterProfilePrefs(registry); | 142 InvalidatorStorage::RegisterProfilePrefs(registry); |
143 } | 143 } |
144 | 144 |
145 } // namespace invalidation | 145 } // namespace invalidation |
OLD | NEW |