Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: chrome/browser/prefs/default_pref_store.cc

Issue 5204006: Renamed DefaultPrefStore into InMemoryPrefStore because it can be used in further contexts. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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/default_pref_store.h"
6
7 #include "base/values.h"
8
9 DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) {
10 }
11
12 DefaultPrefStore::~DefaultPrefStore() {
13 }
14
15 DictionaryValue* DefaultPrefStore::prefs() const {
16 return prefs_.get();
17 }
18
19 PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() {
20 return PrefStore::PREF_READ_ERROR_NONE;
21 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_pref_store_unittest.cc ('k') | chrome/browser/prefs/in_memory_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698