| 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 "base/prefs/testing_pref_service.h" |
| 10 #include "chrome/browser/prefs/pref_service_syncable.h" | 10 #include "chrome/browser/prefs/pref_service_syncable.h" |
| 11 | 11 |
| 12 class PrefModelAssociatorClient; |
| 13 |
| 12 namespace user_prefs { | 14 namespace user_prefs { |
| 13 class PrefRegistrySyncable; | 15 class PrefRegistrySyncable; |
| 14 } | 16 } |
| 15 | 17 |
| 16 // Test version of PrefServiceSyncable. | 18 // Test version of PrefServiceSyncable. |
| 17 class TestingPrefServiceSyncable | 19 class TestingPrefServiceSyncable |
| 18 : public TestingPrefServiceBase<PrefServiceSyncable, | 20 : public TestingPrefServiceBase<PrefServiceSyncable, |
| 19 user_prefs::PrefRegistrySyncable> { | 21 user_prefs::PrefRegistrySyncable> { |
| 20 public: | 22 public: |
| 21 TestingPrefServiceSyncable(); | 23 TestingPrefServiceSyncable(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 | 39 |
| 38 template <> | 40 template <> |
| 39 TestingPrefServiceBase<PrefServiceSyncable, user_prefs::PrefRegistrySyncable>:: | 41 TestingPrefServiceBase<PrefServiceSyncable, user_prefs::PrefRegistrySyncable>:: |
| 40 TestingPrefServiceBase(TestingPrefStore* managed_prefs, | 42 TestingPrefServiceBase(TestingPrefStore* managed_prefs, |
| 41 TestingPrefStore* user_prefs, | 43 TestingPrefStore* user_prefs, |
| 42 TestingPrefStore* recommended_prefs, | 44 TestingPrefStore* recommended_prefs, |
| 43 user_prefs::PrefRegistrySyncable* pref_registry, | 45 user_prefs::PrefRegistrySyncable* pref_registry, |
| 44 PrefNotifierImpl* pref_notifier); | 46 PrefNotifierImpl* pref_notifier); |
| 45 | 47 |
| 46 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ | 48 #endif // CHROME_TEST_BASE_TESTING_PREF_SERVICE_SYNCABLE_H_ |
| 47 | |
| OLD | NEW |