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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/prefs/pref_store.cc
diff --git a/components/prefs/pref_store.cc b/components/prefs/pref_store.cc
index 2ae0afcb08d36b320a0996b53d534bd3c39b4310..57a016dc2b21ce79f6e130481fa3a8eb6fbcd10b 100644
--- a/components/prefs/pref_store.cc
+++ b/components/prefs/pref_store.cc
@@ -4,6 +4,12 @@
#include "components/prefs/pref_store.h"
+PrefStore::Observer::~Observer() {}
+
+PrefStore::PrefStore() {}
+
+PrefStore::~PrefStore() {}
+
bool PrefStore::HasObservers() const {
return false;
}
@@ -11,3 +17,17 @@ bool PrefStore::HasObservers() const {
bool PrefStore::IsInitializationComplete() const {
return true;
}
+
+void PrefStore::AddObserver(PrefStore::Observer* observer) {}
+
+void PrefStore::RemoveObserver(PrefStore::Observer* observer) {}
+
+#if defined(WIN32) && defined(COMPONENT_BUILD)
+void PrefStore::AddRef() const {
+ base::RefCounted<PrefStore>::AddRef();
+}
+
+void PrefStore::Release() const {
+ base::RefCounted<PrefStore>::Release();
+}
+#endif
« 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