OLD | NEW |
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" |
11 #include "base/gtest_prod_util.h" | |
12 #include "base/logging.h" | 11 #include "base/logging.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "content/browser/service_worker/service_worker_version.h" | 14 #include "content/browser/service_worker/service_worker_version.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "content/common/service_worker/service_worker_types.h" | 16 #include "content/common/service_worker/service_worker_types.h" |
18 #include "url/gurl.h" | 17 #include "url/gurl.h" |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 | 20 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 191 |
193 base::ObserverList<Listener> listeners_; | 192 base::ObserverList<Listener> listeners_; |
194 base::WeakPtr<ServiceWorkerContextCore> context_; | 193 base::WeakPtr<ServiceWorkerContextCore> context_; |
195 | 194 |
196 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegistration); | 195 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRegistration); |
197 }; | 196 }; |
198 | 197 |
199 } // namespace content | 198 } // namespace content |
200 | 199 |
201 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_ | 200 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_H_ |
OLD | NEW |