OLD | NEW |
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 CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/prefs/testing_pref_service.h" |
9 #include "chrome/browser/prefs/pref_service_syncable.h" | 10 #include "chrome/browser/prefs/pref_service_syncable.h" |
10 #include "chrome/test/base/testing_pref_service.h" | |
11 | 11 |
12 class PrefRegistrySyncable; | 12 class PrefRegistrySyncable; |
13 | 13 |
14 // Test version of PrefServiceSyncable. | 14 // Test version of PrefServiceSyncable. |
15 class TestingPrefServiceSyncable | 15 class TestingPrefServiceSyncable |
16 : public TestingPrefServiceBase<PrefServiceSyncable, PrefRegistrySyncable> { | 16 : public TestingPrefServiceBase<PrefServiceSyncable, PrefRegistrySyncable> { |
17 public: | 17 public: |
18 TestingPrefServiceSyncable(); | 18 TestingPrefServiceSyncable(); |
19 virtual ~TestingPrefServiceSyncable(); | 19 virtual ~TestingPrefServiceSyncable(); |
20 | 20 |
(...skipping 10 matching lines...) Expand all Loading... |
31 TestingPrefServiceBase<PrefServiceSyncable, PrefRegistrySyncable>:: | 31 TestingPrefServiceBase<PrefServiceSyncable, PrefRegistrySyncable>:: |
32 TestingPrefServiceBase( | 32 TestingPrefServiceBase( |
33 TestingPrefStore* managed_prefs, | 33 TestingPrefStore* managed_prefs, |
34 TestingPrefStore* user_prefs, | 34 TestingPrefStore* user_prefs, |
35 TestingPrefStore* recommended_prefs, | 35 TestingPrefStore* recommended_prefs, |
36 PrefRegistrySyncable* pref_registry, | 36 PrefRegistrySyncable* pref_registry, |
37 PrefNotifierImpl* pref_notifier); | 37 PrefNotifierImpl* pref_notifier); |
38 | 38 |
39 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ | 39 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ |
40 | 40 |
OLD | NEW |