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

Unified Diff: chrome/browser/prefs/in_memory_pref_store.cc

Issue 5646003: Sanitize PrefStore interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix PrefService mock construction in PrefServiceTest to include command line store. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/in_memory_pref_store.h ('k') | chrome/browser/prefs/pref_change_registrar_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 1a2fcba3e299cf4c92af9c0a101d626bbee244df..0000000000000000000000000000000000000000
--- a/chrome/browser/prefs/in_memory_pref_store.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// 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;
-}
« no previous file with comments | « chrome/browser/prefs/in_memory_pref_store.h ('k') | chrome/browser/prefs/pref_change_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698