| 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 bool enable); | 136 bool enable); |
| 137 void OnGetNavigationPreloadState(int thread_id, | 137 void OnGetNavigationPreloadState(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 void OnSetNavigationPreloadHeader(int thread_id, | 141 void OnSetNavigationPreloadHeader(int thread_id, |
| 142 int request_id, | 142 int request_id, |
| 143 int provider_id, | 143 int provider_id, |
| 144 int64_t registration_id, | 144 int64_t registration_id, |
| 145 const std::string& value); | 145 const std::string& value); |
| 146 void OnWorkerReadyForInspection(int embedded_worker_id); | |
| 147 void OnWorkerScriptLoaded(int embedded_worker_id); | 146 void OnWorkerScriptLoaded(int embedded_worker_id); |
| 148 void OnWorkerThreadStarted(int embedded_worker_id, | 147 void OnWorkerThreadStarted(int embedded_worker_id, |
| 149 int thread_id, | 148 int thread_id, |
| 150 int provider_id); | 149 int provider_id); |
| 151 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 150 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
| 152 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); | 151 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); |
| 153 void OnWorkerStarted(int embedded_worker_id); | 152 void OnWorkerStarted(int embedded_worker_id); |
| 154 void OnWorkerStopped(int embedded_worker_id); | 153 void OnWorkerStopped(int embedded_worker_id); |
| 155 void OnCountFeature(int64_t version_id, uint32_t feature); | 154 void OnCountFeature(int64_t version_id, uint32_t feature); |
| 156 void OnReportException(int embedded_worker_id, | 155 void OnReportException(int embedded_worker_id, |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; | 286 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; |
| 288 | 287 |
| 289 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; | 288 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; |
| 290 | 289 |
| 291 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 290 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 292 }; | 291 }; |
| 293 | 292 |
| 294 } // namespace content | 293 } // namespace content |
| 295 | 294 |
| 296 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 295 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |