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

Side by Side Diff: content/child/service_worker/web_service_worker_registration_impl.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 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 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_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerRegistration.h" 17 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerRegistration.h"
18 18
19 namespace blink { 19 namespace blink {
20 class WebServiceWorkerRegistrationProxy; 20 class WebServiceWorkerRegistrationProxy;
21 } 21 }
22 22
23 namespace content { 23 namespace content {
24 24
25 class ServiceWorkerRegistrationHandleReference; 25 class ServiceWorkerRegistrationHandleReference;
26 class ThreadSafeSender;
27 class WebServiceWorkerImpl; 26 class WebServiceWorkerImpl;
28 struct ServiceWorkerObjectInfo;
29 27
30 // Each instance corresponds to one ServiceWorkerRegistration object in JS 28 // Each instance corresponds to one ServiceWorkerRegistration object in JS
31 // context, and is held by ServiceWorkerRegistration object in Blink's C++ layer 29 // context, and is held by ServiceWorkerRegistration object in Blink's C++ layer
32 // via WebServiceWorkerRegistration::Handle. 30 // via WebServiceWorkerRegistration::Handle.
33 // 31 //
34 // Each instance holds one ServiceWorkerRegistrationHandleReference so that 32 // Each instance holds one ServiceWorkerRegistrationHandleReference so that
35 // corresponding ServiceWorkerRegistrationHandle doesn't go away in the browser 33 // corresponding ServiceWorkerRegistrationHandle doesn't go away in the browser
36 // process while the ServiceWorkerRegistration object is alive. 34 // process while the ServiceWorkerRegistration object is alive.
37 class CONTENT_EXPORT WebServiceWorkerRegistrationImpl 35 class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
38 : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration), 36 : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration),
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 blink::WebServiceWorkerRegistrationProxy* proxy_; 110 blink::WebServiceWorkerRegistrationProxy* proxy_;
113 111
114 std::vector<QueuedTask> queued_tasks_; 112 std::vector<QueuedTask> queued_tasks_;
115 113
116 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl); 114 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl);
117 }; 115 };
118 116
119 } // namespace content 117 } // namespace content
120 118
121 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ 119 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.h ('k') | content/child/web_url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698