summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/default_pref_store.cc
blob: a9e6861fe4cbbfec5c1d607eaedbbb4a05fb13ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/default_pref_store.h"

#include "base/values.h"

DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) {
}

DefaultPrefStore::~DefaultPrefStore() {
}

DictionaryValue* DefaultPrefStore::prefs() const {
  return prefs_.get();
}

PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() {
  return PrefStore::PREF_READ_ERROR_NONE;
}