| Index: chrome/browser/prefs/in_memory_pref_store.cc
|
| diff --git a/chrome/browser/prefs/in_memory_pref_store.cc b/chrome/browser/prefs/in_memory_pref_store.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1a2fcba3e299cf4c92af9c0a101d626bbee244df
|
| --- /dev/null
|
| +++ b/chrome/browser/prefs/in_memory_pref_store.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/prefs/in_memory_pref_store.h"
|
| +
|
| +#include "base/values.h"
|
| +
|
| +InMemoryPrefStore::InMemoryPrefStore() : prefs_(new DictionaryValue()) {
|
| +}
|
| +
|
| +InMemoryPrefStore::~InMemoryPrefStore() {
|
| +}
|
| +
|
| +DictionaryValue* InMemoryPrefStore::prefs() const {
|
| + return prefs_.get();
|
| +}
|
| +
|
| +PrefStore::PrefReadError InMemoryPrefStore::ReadPrefs() {
|
| + return PrefStore::PREF_READ_ERROR_NONE;
|
| +}
|
|
|