| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 const std::string& value); | 149 const std::string& value); |
| 150 void OnWorkerReadyForInspection(int embedded_worker_id); | 150 void OnWorkerReadyForInspection(int embedded_worker_id); |
| 151 void OnWorkerScriptLoaded(int embedded_worker_id); | 151 void OnWorkerScriptLoaded(int embedded_worker_id); |
| 152 void OnWorkerThreadStarted(int embedded_worker_id, | 152 void OnWorkerThreadStarted(int embedded_worker_id, |
| 153 int thread_id, | 153 int thread_id, |
| 154 int provider_id); | 154 int provider_id); |
| 155 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 155 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
| 156 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); | 156 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); |
| 157 void OnWorkerStarted(int embedded_worker_id); | 157 void OnWorkerStarted(int embedded_worker_id); |
| 158 void OnWorkerStopped(int embedded_worker_id); | 158 void OnWorkerStopped(int embedded_worker_id); |
| 159 void OnCountFeature(int64_t version_id, uint32_t feature); |
| 159 void OnReportException(int embedded_worker_id, | 160 void OnReportException(int embedded_worker_id, |
| 160 const base::string16& error_message, | 161 const base::string16& error_message, |
| 161 int line_number, | 162 int line_number, |
| 162 int column_number, | 163 int column_number, |
| 163 const GURL& source_url); | 164 const GURL& source_url); |
| 164 void OnReportConsoleMessage( | 165 void OnReportConsoleMessage( |
| 165 int embedded_worker_id, | 166 int embedded_worker_id, |
| 166 const EmbeddedWorkerHostMsg_ReportConsoleMessage_Params& params); | 167 const EmbeddedWorkerHostMsg_ReportConsoleMessage_Params& params); |
| 167 void OnIncrementServiceWorkerRefCount(int handle_id); | 168 void OnIncrementServiceWorkerRefCount(int handle_id); |
| 168 void OnDecrementServiceWorkerRefCount(int handle_id); | 169 void OnDecrementServiceWorkerRefCount(int handle_id); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; | 291 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; |
| 291 | 292 |
| 292 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; | 293 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; |
| 293 | 294 |
| 294 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 295 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 295 }; | 296 }; |
| 296 | 297 |
| 297 } // namespace content | 298 } // namespace content |
| 298 | 299 |
| 299 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 300 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |