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