| 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 BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ | 5 #ifndef BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ |
| 6 #define BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ | 6 #define BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/prefs/base_prefs_export.h" | 10 #include "base/prefs/base_prefs_export.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 const base::FilePath& default_value); | 29 const base::FilePath& default_value); |
| 30 void RegisterListPref(const char* path); | 30 void RegisterListPref(const char* path); |
| 31 void RegisterDictionaryPref(const char* path); | 31 void RegisterDictionaryPref(const char* path); |
| 32 void RegisterListPref(const char* path, base::ListValue* default_value); | 32 void RegisterListPref(const char* path, base::ListValue* default_value); |
| 33 void RegisterDictionaryPref(const char* path, | 33 void RegisterDictionaryPref(const char* path, |
| 34 base::DictionaryValue* default_value); | 34 base::DictionaryValue* default_value); |
| 35 void RegisterInt64Pref(const char* path, | 35 void RegisterInt64Pref(const char* path, |
| 36 int64 default_value); | 36 int64 default_value); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 virtual ~PrefRegistrySimple(); | 39 ~PrefRegistrySimple() override; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySimple); | 41 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySimple); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ | 44 #endif // BASE_PREFS_PREF_REGISTRY_SIMPLE_H_ |
| OLD | NEW |