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

Unified Diff: content/browser/appcache/appcache_group.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 | « content/browser/appcache/appcache_group.h ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_group.cc
diff --git a/content/browser/appcache/appcache_group.cc b/content/browser/appcache/appcache_group.cc
index 7ebd2890ba4791fcef9c3a29a0ebeb569860c69a..ce6d873638bd3b3d43b5a87aa2b3dc7cd00d4573 100644
--- a/content/browser/appcache/appcache_group.cc
+++ b/content/browser/appcache/appcache_group.cc
@@ -219,7 +219,9 @@ void AppCacheGroup::RunQueuedUpdates() {
}
}
-bool AppCacheGroup::FindObserver(UpdateObserver* find_me,
+// static
+bool AppCacheGroup::FindObserver(
+ const UpdateObserver* find_me,
const ObserverList<UpdateObserver>& observer_list) {
return observer_list.HasObserver(find_me);
}
« no previous file with comments | « content/browser/appcache/appcache_group.h ('k') | sync/sessions/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698