| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_TEST_TESTING_PREF_VALUE_STORE_H_ | |
| 6 #define CHROME_TEST_TESTING_PREF_VALUE_STORE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "chrome/browser/prefs/pref_value_store.h" | |
| 10 | |
| 11 // PrefValueStore subclass that allows directly setting PrefStores. | |
| 12 class TestingPrefValueStore : public PrefValueStore { | |
| 13 public: | |
| 14 TestingPrefValueStore(PrefStore* managed_platform_prefs, | |
| 15 PrefStore* device_management_prefs, | |
| 16 PrefStore* extension_prefs, | |
| 17 PrefStore* command_line_prefs, | |
| 18 PrefStore* user_prefs, | |
| 19 PrefStore* recommended_prefs, | |
| 20 PrefStore* default_prefs) | |
| 21 : PrefValueStore(managed_platform_prefs, device_management_prefs, | |
| 22 extension_prefs, command_line_prefs, | |
| 23 user_prefs, recommended_prefs, default_prefs, NULL) {} | |
| 24 }; | |
| 25 | |
| 26 #endif // CHROME_TEST_TESTING_PREF_VALUE_STORE_H_ | |
| OLD | NEW |