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

Unified Diff: content/browser/appcache/appcache_group.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 7 months 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 1a2df75203a932102375a788aefa95bfa0fa0085..cafa3ef765f3c40bc3fc075f22b013a7d19caee6 100644
--- a/content/browser/appcache/appcache_group.h
+++ b/content/browser/appcache/appcache_group.h
@@ -122,8 +122,9 @@ 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();
- static bool FindObserver(const UpdateObserver* find_me,
- const ObserverList<UpdateObserver>& observer_list);
+ static bool FindObserver(
+ const UpdateObserver* find_me,
+ const base::ObserverList<UpdateObserver>& observer_list);
void ScheduleUpdateRestart(int delay_ms);
void HostDestructionImminent(AppCacheHost* host);
@@ -148,11 +149,11 @@ class CONTENT_EXPORT AppCacheGroup
AppCacheStorage* storage_;
// List of objects observing this group.
- ObserverList<UpdateObserver> observers_;
+ base::ObserverList<UpdateObserver> observers_;
// Updates that have been queued for the next run.
QueuedUpdates queued_updates_;
- ObserverList<UpdateObserver> queued_observers_;
+ base::ObserverList<UpdateObserver> queued_observers_;
base::CancelableClosure restart_update_task_;
scoped_ptr<HostObserver> host_observer_;
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_factory_impl.cc ('k') | content/browser/appcache/appcache_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698