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

Unified Diff: components/invalidation/invalidation_logger.h

Issue 697953002: ObserverList::HasObserver now takes a const pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile errors (ChromeOS unit tests). 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
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | components/invalidation/invalidation_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/invalidation_logger.h
diff --git a/components/invalidation/invalidation_logger.h b/components/invalidation/invalidation_logger.h
index 39d754edcd4d13af1634ad782d9d86b32e0e9745..e19ff07da7309d8049a8d67944dbc2b99400b3c1 100644
--- a/components/invalidation/invalidation_logger.h
+++ b/components/invalidation/invalidation_logger.h
@@ -60,7 +60,8 @@ class InvalidationLogger {
// Add and remove observers listening for messages.
void RegisterObserver(InvalidationLoggerObserver* debug_observer);
void UnregisterObserver(InvalidationLoggerObserver* debug_observer);
- bool IsObserverRegistered(InvalidationLoggerObserver* debug_observer);
+ bool IsObserverRegistered(
+ const InvalidationLoggerObserver* debug_observer) const;
private:
// Send to every Observer a OnStateChange event with the latest state.
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | components/invalidation/invalidation_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698