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

Unified Diff: content/browser/appcache/appcache_group.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: content/browser/appcache/appcache_group.h
diff --git a/content/browser/appcache/appcache_group.h b/content/browser/appcache/appcache_group.h
index 3c54cfec5a2bf70504b24718f9595e0459caf31d..1a2df75203a932102375a788aefa95bfa0fa0085 100644
--- a/content/browser/appcache/appcache_group.h
+++ b/content/browser/appcache/appcache_group.h
@@ -122,8 +122,8 @@ class CONTENT_EXPORT AppCacheGroup
// Update cannot be processed at this time. Queue it for a later run.
void QueueUpdate(AppCacheHost* host, const GURL& new_master_resource);
void RunQueuedUpdates();
- bool FindObserver(UpdateObserver* find_me,
- const ObserverList<UpdateObserver>& observer_list);
+ static bool FindObserver(const UpdateObserver* find_me,
Matt Giuca 2014/11/03 23:22:00 Note: I made this static as well (unrelated, but i
+ const ObserverList<UpdateObserver>& observer_list);
void ScheduleUpdateRestart(int delay_ms);
void HostDestructionImminent(AppCacheHost* host);

Powered by Google App Engine
This is Rietveld 408576698