OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/pref_store.h" | 5 #include "chrome/common/pref_store.h" |
6 #include "base/values.h" | 6 #include "base/values.h" |
7 | 7 |
8 Value* PrefStore::CreateUseDefaultSentinelValue() { | 8 Value* PrefStore::CreateUseDefaultSentinelValue() { |
9 return Value::CreateNullValue(); | 9 return Value::CreateNullValue(); |
10 } | 10 } |
11 | 11 |
12 bool PrefStore::IsUseDefaultSentinelValue(Value* value) { | 12 bool PrefStore::IsUseDefaultSentinelValue(Value* value) { |
13 return value->IsType(Value::TYPE_NULL); | 13 return value->IsType(Value::TYPE_NULL); |
14 } | 14 } |
| 15 |
| 16 bool PrefStore::IsInitializationComplete() { |
| 17 return true; |
| 18 } |
| 19 |
| 20 bool PrefStore::ReadOnly() const { |
| 21 return true; |
| 22 } |
| 23 |
| 24 bool PrefStore::WritePrefs() { |
| 25 return true; |
| 26 } |
OLD | NEW |