summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dummy_pref_store.cc
blob: bd728d452ed8ff056a5324f70a972190c0cfba8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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/dummy_pref_store.h"

#include "base/values.h"

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

PrefStore::PrefReadError DummyPrefStore::ReadPrefs() {
  prefs_.reset(new DictionaryValue());
  return PrefStore::PREF_READ_ERROR_NONE;
}