| 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_SERVICE_WORKER_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ | 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "content/child/worker_task_runner.h" | 14 #include "content/child/worker_task_runner.h" |
| 15 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 15 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerError.h" |
| 16 #include "third_party/WebKit/public/platform/WebServiceWorkerProvider.h" | 16 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerProvider.h" |
| 17 #include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h" | 17 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" |
| 18 #include "third_party/WebKit/public/platform/WebServiceWorkerState.h" | 18 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerState.h" |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class SingleThreadTaskRunner; | 23 class SingleThreadTaskRunner; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 class WebURL; | 27 class WebURL; |
| 28 } | 28 } |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 293 |
| 294 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 294 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 295 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 295 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
| 296 | 296 |
| 297 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher); | 297 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher); |
| 298 }; | 298 }; |
| 299 | 299 |
| 300 } // namespace content | 300 } // namespace content |
| 301 | 301 |
| 302 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ | 302 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ |
| OLD | NEW |