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

Side by Side Diff: components/prefs/pref_store.cc

Issue 1749053002: Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for component build of Windows Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « components/prefs/pref_store.h ('k') | remoting/BUILD.gn » ('j') | remoting/host/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698