OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "components/prefs/pref_store.h" | 5 #include "components/prefs/pref_store.h" |
6 | 6 |
| 7 PrefStore::Observer::~Observer() {} |
| 8 |
| 9 PrefStore::PrefStore() {} |
| 10 |
| 11 PrefStore::~PrefStore() {} |
| 12 |
7 bool PrefStore::HasObservers() const { | 13 bool PrefStore::HasObservers() const { |
8 return false; | 14 return false; |
9 } | 15 } |
10 | 16 |
11 bool PrefStore::IsInitializationComplete() const { | 17 bool PrefStore::IsInitializationComplete() const { |
12 return true; | 18 return true; |
13 } | 19 } |
| 20 |
| 21 void PrefStore::AddObserver(PrefStore::Observer* observer) {} |
| 22 |
| 23 void PrefStore::RemoveObserver(PrefStore::Observer* observer) {} |
| 24 |
| 25 #if defined(WIN32) && defined(COMPONENT_BUILD) |
| 26 void PrefStore::AddRef() const { |
| 27 base::RefCounted<PrefStore>::AddRef(); |
| 28 } |
| 29 |
| 30 void PrefStore::Release() const { |
| 31 base::RefCounted<PrefStore>::Release(); |
| 32 } |
| 33 #endif |
OLD | NEW |