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

Unified Diff: chrome/common/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/common/pref_store.h ('k') | chrome/common/pref_store_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_store.cc
diff --git a/chrome/common/pref_store.cc b/chrome/common/pref_store.cc
deleted file mode 100644
index cf85417d10d900cf02666cdbd68611cd450485c3..0000000000000000000000000000000000000000
--- a/chrome/common/pref_store.cc
+++ /dev/null
@@ -1,14 +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/common/pref_store.h"
-#include "base/values.h"
-
-Value* PrefStore::CreateUseDefaultSentinelValue() {
- return Value::CreateNullValue();
-}
-
-bool PrefStore::IsUseDefaultSentinelValue(Value* value) {
- return value->IsType(Value::TYPE_NULL);
-}
« no previous file with comments | « chrome/common/pref_store.h ('k') | chrome/common/pref_store_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698