Chromium Code Reviews| Index: content/child/service_worker/service_worker_dispatcher.h |
| diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h |
| index 50a9ca27f5d17577d0c15d9150582adf307848d4..28b9f4f98677b0094ab07abfcd9bcd53f32c5629 100644 |
| --- a/content/child/service_worker/service_worker_dispatcher.h |
| +++ b/content/child/service_worker/service_worker_dispatcher.h |
| @@ -41,7 +41,8 @@ struct TransferredMessagePort; |
| // This class manages communication with the browser process about |
| // registration of the service worker, exposed to renderer and worker |
| // scripts through methods like navigator.registerServiceWorker(). |
| -class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer { |
| +class CONTENT_EXPORT ServiceWorkerDispatcher |
|
nasko
2015/03/18 22:21:44
Is this needed for linking to the unit tests or so
nhiroki
2015/03/18 23:14:37
Right. This is used for linking to the tests.
|
| + : public WorkerTaskRunner::Observer { |
| public: |
| typedef blink::WebServiceWorkerProvider::WebServiceWorkerRegistrationCallbacks |
| WebServiceWorkerRegistrationCallbacks; |
| @@ -147,6 +148,7 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer { |
| typedef std::map<int, WebServiceWorkerRegistrationImpl*> |
| RegistrationObjectMap; |
| + friend class ServiceWorkerDispatcherTest; |
| friend class WebServiceWorkerImpl; |
| friend class WebServiceWorkerRegistrationImpl; |