Chromium Code Reviews| 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_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ | 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ | 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "third_party/WebKit/public/platform/WebServiceWorkerProvider.h" | 10 #include "third_party/WebKit/public/platform/WebServiceWorkerProvider.h" |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 virtual void registerServiceWorker(const blink::WebURL& pattern, | 34 virtual void registerServiceWorker(const blink::WebURL& pattern, |
| 35 const blink::WebURL& script_url, | 35 const blink::WebURL& script_url, |
| 36 WebServiceWorkerRegistrationCallbacks*); | 36 WebServiceWorkerRegistrationCallbacks*); |
| 37 | 37 |
| 38 virtual void unregisterServiceWorker( | 38 virtual void unregisterServiceWorker( |
| 39 const blink::WebURL& pattern, | 39 const blink::WebURL& pattern, |
| 40 WebServiceWorkerUnregistrationCallbacks*); | 40 WebServiceWorkerUnregistrationCallbacks*); |
| 41 | 41 |
| 42 virtual void getRegistration(const blink::WebURL& document_url, | 42 virtual void getRegistration(const blink::WebURL& document_url, |
| 43 WebServiceWorkerGetRegistrationCallbacks*); | 43 WebServiceWorkerGetRegistrationCallbacks*); |
| 44 virtual void getRegistrations(const blink::WebURL& document_url, | |
| 45 WebServiceWorkerGetRegistrationsCallbacks*); | |
|
kinuko
2015/05/21 07:57:06
nit: indent
jungkees
2015/05/21 13:46:25
Just gone by removing the first parameter.
| |
| 44 virtual void getRegistrationForReady( | 46 virtual void getRegistrationForReady( |
| 45 WebServiceWorkerGetRegistrationForReadyCallbacks*); | 47 WebServiceWorkerGetRegistrationForReadyCallbacks*); |
| 46 | 48 |
| 47 private: | 49 private: |
| 48 void RemoveProviderClient(); | 50 void RemoveProviderClient(); |
| 49 ServiceWorkerDispatcher* GetDispatcher(); | 51 ServiceWorkerDispatcher* GetDispatcher(); |
| 50 | 52 |
| 51 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 53 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 52 scoped_refptr<ServiceWorkerProviderContext> context_; | 54 scoped_refptr<ServiceWorkerProviderContext> context_; |
| 53 | 55 |
| 54 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerProviderImpl); | 56 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerProviderImpl); |
| 55 }; | 57 }; |
| 56 | 58 |
| 57 } // namespace content | 59 } // namespace content |
| 58 | 60 |
| 59 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ | 61 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ |
| OLD | NEW |