| 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 int provider_id, | 122 int provider_id, |
| 123 int64_t registration_id); | 123 int64_t registration_id); |
| 124 void OnGetRegistration(int thread_id, | 124 void OnGetRegistration(int thread_id, |
| 125 int request_id, | 125 int request_id, |
| 126 int provider_id, | 126 int provider_id, |
| 127 const GURL& document_url); | 127 const GURL& document_url); |
| 128 void OnGetRegistrations(int thread_id, int request_id, int provider_id); | 128 void OnGetRegistrations(int thread_id, int request_id, int provider_id); |
| 129 void OnGetRegistrationForReady(int thread_id, | 129 void OnGetRegistrationForReady(int thread_id, |
| 130 int request_id, | 130 int request_id, |
| 131 int provider_id); | 131 int provider_id); |
| 132 void OnEnableNavigationPreload(int thread_id, |
| 133 int request_id, |
| 134 int provider_id, |
| 135 int64_t registration_id, |
| 136 bool enable); |
| 132 void OnProviderDestroyed(int provider_id); | 137 void OnProviderDestroyed(int provider_id); |
| 133 void OnSetHostedVersionId(int provider_id, | 138 void OnSetHostedVersionId(int provider_id, |
| 134 int64_t version_id, | 139 int64_t version_id, |
| 135 int embedded_worker_id); | 140 int embedded_worker_id); |
| 136 void OnWorkerReadyForInspection(int embedded_worker_id); | 141 void OnWorkerReadyForInspection(int embedded_worker_id); |
| 137 void OnWorkerScriptLoaded(int embedded_worker_id); | 142 void OnWorkerScriptLoaded(int embedded_worker_id); |
| 138 void OnWorkerThreadStarted(int embedded_worker_id, | 143 void OnWorkerThreadStarted(int embedded_worker_id, |
| 139 int thread_id, | 144 int thread_id, |
| 140 int provider_id); | 145 int provider_id); |
| 141 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 146 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; | 268 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; |
| 264 | 269 |
| 265 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; | 270 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; |
| 266 | 271 |
| 267 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 272 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 268 }; | 273 }; |
| 269 | 274 |
| 270 } // namespace content | 275 } // namespace content |
| 271 | 276 |
| 272 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 277 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |