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

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

Issue 1002393005: Revert of ServiceWorker: Introduce SWMessageSender in order to mock IPC messaging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix patch apply failure Created 5 years, 9 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_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 <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "content/common/content_export.h"
12 #include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h" 11 #include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h"
13 12
14 namespace blink { 13 namespace blink {
15 class WebServiceWorker; 14 class WebServiceWorker;
16 class WebServiceWorkerRegistrationProxy; 15 class WebServiceWorkerRegistrationProxy;
17 } 16 }
18 17
19 namespace content { 18 namespace content {
20 19
21 class ServiceWorkerRegistrationHandleReference; 20 class ServiceWorkerRegistrationHandleReference;
22 class ThreadSafeSender; 21 class ThreadSafeSender;
23 struct ServiceWorkerObjectInfo; 22 struct ServiceWorkerObjectInfo;
24 23
25 class CONTENT_EXPORT WebServiceWorkerRegistrationImpl 24 class WebServiceWorkerRegistrationImpl
26 : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration) { 25 : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration) {
27 public: 26 public:
28 explicit WebServiceWorkerRegistrationImpl( 27 explicit WebServiceWorkerRegistrationImpl(
29 scoped_ptr<ServiceWorkerRegistrationHandleReference> handle_ref); 28 scoped_ptr<ServiceWorkerRegistrationHandleReference> handle_ref);
30 virtual ~WebServiceWorkerRegistrationImpl(); 29 virtual ~WebServiceWorkerRegistrationImpl();
31 30
32 void SetInstalling(blink::WebServiceWorker* service_worker); 31 void SetInstalling(blink::WebServiceWorker* service_worker);
33 void SetWaiting(blink::WebServiceWorker* service_worker); 32 void SetWaiting(blink::WebServiceWorker* service_worker);
34 void SetActive(blink::WebServiceWorker* service_worker); 33 void SetActive(blink::WebServiceWorker* service_worker);
35 34
(...skipping 28 matching lines...) Expand all
64 blink::WebServiceWorkerRegistrationProxy* proxy_; 63 blink::WebServiceWorkerRegistrationProxy* proxy_;
65 64
66 std::vector<QueuedTask> queued_tasks_; 65 std::vector<QueuedTask> queued_tasks_;
67 66
68 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl); 67 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl);
69 }; 68 };
70 69
71 } // namespace content 70 } // namespace content
72 71
73 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ 72 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/service_worker/web_service_worker_provider_impl.cc ('k') | content/common/service_worker/service_worker_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698