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

Unified Diff: chromeos/dbus/system_clock_client.h

Issue 697953002: ObserverList::HasObserver now takes a const pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: chromeos/dbus/system_clock_client.h
diff --git a/chromeos/dbus/system_clock_client.h b/chromeos/dbus/system_clock_client.h
index 1757853950f57f68eb23ecd1dacd9b2e68188426..8380ff1de3808304eefd9405a983bca9afab0c70 100644
--- a/chromeos/dbus/system_clock_client.h
+++ b/chromeos/dbus/system_clock_client.h
@@ -35,7 +35,7 @@ class CHROMEOS_EXPORT SystemClockClient : public DBusClient {
// Removes the given observer if this object has the observer.
virtual void RemoveObserver(Observer* observer) = 0;
// Returns true if this object has the given observer.
- virtual bool HasObserver(Observer* observer) = 0;
+ virtual bool HasObserver(const Observer* observer) const = 0;
// Sets the system clock.
virtual void SetTime(int64 time_in_seconds) = 0;

Powered by Google App Engine
This is Rietveld 408576698