| 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 #include "chrome/browser/prefs/default_pref_store.h" | 5 #include "chrome/browser/prefs/default_pref_store.h" |
| 6 | 6 |
| 7 #include "base/values.h" | 7 #include "base/values.h" |
| 8 | 8 |
| 9 DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) { | 9 DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) { |
| 10 } | 10 } |
| 11 | 11 |
| 12 DefaultPrefStore::~DefaultPrefStore() { | 12 DefaultPrefStore::~DefaultPrefStore() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 DictionaryValue* DefaultPrefStore::prefs() { | 15 DictionaryValue* DefaultPrefStore::prefs() const { |
| 16 return prefs_.get(); | 16 return prefs_.get(); |
| 17 } | 17 } |
| 18 | 18 |
| 19 PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() { | 19 PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() { |
| 20 return PrefStore::PREF_READ_ERROR_NONE; | 20 return PrefStore::PREF_READ_ERROR_NONE; |
| 21 } | 21 } |
| OLD | NEW |