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

Side by Side Diff: components/sync_preferences/testing_pref_service_syncable.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_ 5 #ifndef COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_
6 #define COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_ 6 #define COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/prefs/testing_pref_service.h" 9 #include "components/prefs/testing_pref_service.h"
10 #include "components/sync_preferences/pref_service_syncable.h" 10 #include "components/sync_preferences/pref_service_syncable.h"
11 11
12 namespace user_prefs { 12 namespace user_prefs {
13 class PrefRegistrySyncable; 13 class PrefRegistrySyncable;
14 } 14 }
15 15
16 namespace sync_preferences { 16 namespace sync_preferences {
17 17
18 class PrefModelAssociatorClient;
19
20 // Test version of PrefServiceSyncable. 18 // Test version of PrefServiceSyncable.
21 class TestingPrefServiceSyncable 19 class TestingPrefServiceSyncable
22 : public TestingPrefServiceBase<PrefServiceSyncable, 20 : public TestingPrefServiceBase<PrefServiceSyncable,
23 user_prefs::PrefRegistrySyncable> { 21 user_prefs::PrefRegistrySyncable> {
24 public: 22 public:
25 TestingPrefServiceSyncable(); 23 TestingPrefServiceSyncable();
26 TestingPrefServiceSyncable(TestingPrefStore* managed_prefs, 24 TestingPrefServiceSyncable(TestingPrefStore* managed_prefs,
27 TestingPrefStore* user_prefs, 25 TestingPrefStore* user_prefs,
28 TestingPrefStore* recommended_prefs, 26 TestingPrefStore* recommended_prefs,
29 user_prefs::PrefRegistrySyncable* pref_registry, 27 user_prefs::PrefRegistrySyncable* pref_registry,
(...skipping 16 matching lines...) Expand all
46 template <> 44 template <>
47 TestingPrefServiceBase<sync_preferences::PrefServiceSyncable, 45 TestingPrefServiceBase<sync_preferences::PrefServiceSyncable,
48 user_prefs::PrefRegistrySyncable>:: 46 user_prefs::PrefRegistrySyncable>::
49 TestingPrefServiceBase(TestingPrefStore* managed_prefs, 47 TestingPrefServiceBase(TestingPrefStore* managed_prefs,
50 TestingPrefStore* user_prefs, 48 TestingPrefStore* user_prefs,
51 TestingPrefStore* recommended_prefs, 49 TestingPrefStore* recommended_prefs,
52 user_prefs::PrefRegistrySyncable* pref_registry, 50 user_prefs::PrefRegistrySyncable* pref_registry,
53 PrefNotifierImpl* pref_notifier); 51 PrefNotifierImpl* pref_notifier);
54 52
55 #endif // COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_ 53 #endif // COMPONENTS_SYNC_PREFERENCES_TESTING_PREF_SERVICE_SYNCABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698