| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 int provider_id); | 136 int provider_id); |
| 137 void OnEnableNavigationPreload(int thread_id, | 137 void OnEnableNavigationPreload(int thread_id, |
| 138 int request_id, | 138 int request_id, |
| 139 int provider_id, | 139 int provider_id, |
| 140 int64_t registration_id, | 140 int64_t registration_id, |
| 141 bool enable); | 141 bool enable); |
| 142 void OnGetNavigationPreloadState(int thread_id, | 142 void OnGetNavigationPreloadState(int thread_id, |
| 143 int request_id, | 143 int request_id, |
| 144 int provider_id, | 144 int provider_id, |
| 145 int64_t registration_id); | 145 int64_t registration_id); |
| 146 void OnSetNavigationPreloadHeader(int thread_id, |
| 147 int request_id, |
| 148 int provider_id, |
| 149 int64_t registration_id, |
| 150 const std::string& value); |
| 146 void OnProviderDestroyed(int provider_id); | 151 void OnProviderDestroyed(int provider_id); |
| 147 void OnSetHostedVersionId(int provider_id, | 152 void OnSetHostedVersionId(int provider_id, |
| 148 int64_t version_id, | 153 int64_t version_id, |
| 149 int embedded_worker_id); | 154 int embedded_worker_id); |
| 150 void OnWorkerReadyForInspection(int embedded_worker_id); | 155 void OnWorkerReadyForInspection(int embedded_worker_id); |
| 151 void OnWorkerScriptLoaded(int embedded_worker_id); | 156 void OnWorkerScriptLoaded(int embedded_worker_id); |
| 152 void OnWorkerThreadStarted(int embedded_worker_id, | 157 void OnWorkerThreadStarted(int embedded_worker_id, |
| 153 int thread_id, | 158 int thread_id, |
| 154 int provider_id); | 159 int provider_id); |
| 155 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 160 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; | 283 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; |
| 279 | 284 |
| 280 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; | 285 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; |
| 281 | 286 |
| 282 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 287 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 283 }; | 288 }; |
| 284 | 289 |
| 285 } // namespace content | 290 } // namespace content |
| 286 | 291 |
| 287 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 292 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |