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

Side by Side Diff: content/browser/shared_worker/shared_worker_service_impl.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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // Function ptr to update worker dependency, tests may override this. 161 // Function ptr to update worker dependency, tests may override this.
162 UpdateWorkerDependencyFunc update_worker_dependency_; 162 UpdateWorkerDependencyFunc update_worker_dependency_;
163 163
164 // Function ptr to increment worker ref count, tests may override this. 164 // Function ptr to increment worker ref count, tests may override this.
165 static bool (*s_try_increment_worker_ref_count_)(int); 165 static bool (*s_try_increment_worker_ref_count_)(int);
166 166
167 WorkerHostMap worker_hosts_; 167 WorkerHostMap worker_hosts_;
168 PendingInstaneMap pending_instances_; 168 PendingInstaneMap pending_instances_;
169 int next_pending_instance_id_; 169 int next_pending_instance_id_;
170 170
171 ObserverList<WorkerServiceObserver> observers_; 171 base::ObserverList<WorkerServiceObserver> observers_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); 173 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl);
174 }; 174 };
175 175
176 } // namespace content 176 } // namespace content
177 177
178 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 178 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_version.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698