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

Unified Diff: components/invalidation/invalidator_registrar.cc

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 | « components/invalidation/invalidator_registrar.h ('k') | content/browser/appcache/appcache_group.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/invalidator_registrar.cc
diff --git a/components/invalidation/invalidator_registrar.cc b/components/invalidation/invalidator_registrar.cc
index 80cb7f6f02ce38c9183f72d5a6f41ee6b6083c1e..9ee6a94fbdaff6dc14a02c9db2eef4f94e180bec 100644
--- a/components/invalidation/invalidator_registrar.cc
+++ b/components/invalidation/invalidator_registrar.cc
@@ -135,7 +135,7 @@ InvalidatorRegistrar::GetSanitizedHandlersIdsMap() {
}
bool InvalidatorRegistrar::IsHandlerRegisteredForTest(
- InvalidationHandler* handler) const {
+ const InvalidationHandler* handler) const {
DCHECK(thread_checker_.CalledOnValidThread());
return handlers_.HasObserver(handler);
}
« no previous file with comments | « components/invalidation/invalidator_registrar.h ('k') | content/browser/appcache/appcache_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698