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 #ifndef CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ |
6 #define CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ | 6 #define CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
11 | 11 |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 namespace policy { | 14 namespace policy { |
15 class AffiliatedInvalidationServiceProviderImplTest; | 15 class AffiliatedInvalidationServiceProviderImplTest; |
16 } | 16 } |
17 | 17 |
18 namespace syncer { | |
19 class Invalidator; | |
20 } | |
21 | |
22 namespace user_prefs { | 18 namespace user_prefs { |
23 class PrefRegistrySyncable; | 19 class PrefRegistrySyncable; |
24 } | 20 } |
25 | 21 |
26 namespace invalidation { | 22 namespace invalidation { |
27 | 23 |
28 class ProfileInvalidationProvider; | 24 class ProfileInvalidationProvider; |
29 | 25 |
30 // A BrowserContextKeyedServiceFactory to construct InvalidationServices wrapped | 26 // A BrowserContextKeyedServiceFactory to construct InvalidationServices wrapped |
31 // in ProfileInvalidationProviders. The implementation of InvalidationService | 27 // in ProfileInvalidationProviders. The implementation of InvalidationService |
(...skipping 30 matching lines...) Expand all Loading... |
62 user_prefs::PrefRegistrySyncable* registry) override; | 58 user_prefs::PrefRegistrySyncable* registry) override; |
63 | 59 |
64 TestingFactoryFunction testing_factory_; | 60 TestingFactoryFunction testing_factory_; |
65 | 61 |
66 DISALLOW_COPY_AND_ASSIGN(ProfileInvalidationProviderFactory); | 62 DISALLOW_COPY_AND_ASSIGN(ProfileInvalidationProviderFactory); |
67 }; | 63 }; |
68 | 64 |
69 } // namespace invalidation | 65 } // namespace invalidation |
70 | 66 |
71 #endif // CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ | 67 #endif // CHROME_BROWSER_INVALIDATION_PROFILE_INVALIDATION_PROVIDER_FACTORY_H_ |
OLD | NEW |