| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SYNCABLE_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_ |
| 6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/prefs/pref_service_builder.h" | 8 #include "base/prefs/pref_service_builder.h" |
| 9 | 9 |
| 10 class CommandLine; | 10 class CommandLine; |
| 11 class PrefRegistrySyncable; | 11 class PrefRegistrySyncable; |
| 12 class PrefServiceSyncable; | 12 class PrefServiceSyncable; |
| 13 | 13 |
| 14 namespace policy { | 14 namespace policy { |
| 15 class PolicyService; | 15 class PolicyService; |
| 16 } | 16 } |
| 17 | 17 |
| 18 // A PrefServiceBuilder that also knows how to build a | 18 // A PrefServiceBuilder that also knows how to build a |
| (...skipping 15 matching lines...) Expand all Loading... |
| 34 // Specifies to use an actual command-line backed command-line pref store. | 34 // Specifies to use an actual command-line backed command-line pref store. |
| 35 PrefServiceSyncableBuilder& WithCommandLine(CommandLine* command_line); | 35 PrefServiceSyncableBuilder& WithCommandLine(CommandLine* command_line); |
| 36 | 36 |
| 37 virtual PrefServiceSyncable* CreateSyncable(PrefRegistrySyncable* registry); | 37 virtual PrefServiceSyncable* CreateSyncable(PrefRegistrySyncable* registry); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncableBuilder); | 40 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncableBuilder); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_ | 43 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_BUILDER_H_ |
| OLD | NEW |