OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // Creates the PrefService, invalidating the entire builder configuration. | 54 // Creates the PrefService, invalidating the entire builder configuration. |
55 PrefService* Create(); | 55 PrefService* Create(); |
56 | 56 |
57 private: | 57 private: |
58 scoped_ptr<PrefStore> managed_platform_prefs_; | 58 scoped_ptr<PrefStore> managed_platform_prefs_; |
59 scoped_ptr<PrefStore> device_management_prefs_; | 59 scoped_ptr<PrefStore> device_management_prefs_; |
60 scoped_ptr<PrefStore> extension_prefs_; | 60 scoped_ptr<PrefStore> extension_prefs_; |
61 scoped_ptr<PrefStore> command_line_prefs_; | 61 scoped_ptr<PrefStore> command_line_prefs_; |
62 scoped_ptr<PersistentPrefStore> user_prefs_; | 62 scoped_ptr<PersistentPrefStore> user_prefs_; |
63 scoped_ptr<PrefStore> recommended_prefs_; | 63 scoped_ptr<PrefStore> recommended_prefs_; |
64 Profile* profile_; | |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(PrefServiceMockBuilder); | 65 DISALLOW_COPY_AND_ASSIGN(PrefServiceMockBuilder); |
67 }; | 66 }; |
68 | 67 |
69 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ | 68 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_BUILDER_H_ |
OLD | NEW |