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

Side by Side Diff: content/browser/service_worker/service_worker_registration.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const int64 registration_id_; 173 const int64 registration_id_;
174 bool is_deleted_; 174 bool is_deleted_;
175 bool is_uninstalling_; 175 bool is_uninstalling_;
176 bool is_uninstalled_; 176 bool is_uninstalled_;
177 bool should_activate_when_ready_; 177 bool should_activate_when_ready_;
178 base::Time last_update_check_; 178 base::Time last_update_check_;
179 int64_t resources_total_size_bytes_; 179 int64_t resources_total_size_bytes_;
180 scoped_refptr<ServiceWorkerVersion> active_version_; 180 scoped_refptr<ServiceWorkerVersion> active_version_;
181 scoped_refptr<ServiceWorkerVersion> waiting_version_; 181 scoped_refptr<ServiceWorkerVersion> waiting_version_;
182 scoped_refptr<ServiceWorkerVersion> installing_version_; 182 scoped_refptr<ServiceWorkerVersion> installing_version_;
183 ObserverList<Listener> listeners_; 183 base::ObserverList<Listener> listeners_;
184 base::WeakPtr<ServiceWorkerContextCore> context_; 184 base::WeakPtr<ServiceWorkerContextCore> context_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegistration); 186 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegistration);
187 }; 187 };
188 188
189 } // namespace content 189 } // namespace content
190 190
191 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_ 191 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698