| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 int provider_id, | 87 int provider_id, |
| 88 const GURL& pattern); | 88 const GURL& pattern); |
| 89 void OnGetRegistration(int thread_id, | 89 void OnGetRegistration(int thread_id, |
| 90 int request_id, | 90 int request_id, |
| 91 int provider_id, | 91 int provider_id, |
| 92 const GURL& document_url); | 92 const GURL& document_url); |
| 93 void OnProviderCreated(int provider_id, int render_frame_id); | 93 void OnProviderCreated(int provider_id, int render_frame_id); |
| 94 void OnProviderDestroyed(int provider_id); | 94 void OnProviderDestroyed(int provider_id); |
| 95 void OnSetHostedVersionId(int provider_id, int64 version_id); | 95 void OnSetHostedVersionId(int provider_id, int64 version_id); |
| 96 void OnWorkerReadyForInspection(int embedded_worker_id); | 96 void OnWorkerReadyForInspection(int embedded_worker_id); |
| 97 void OnWorkerScriptLoaded(int embedded_worker_id, int thread_id); | 97 void OnWorkerScriptLoaded(int embedded_worker_id, |
| 98 int thread_id, |
| 99 int provider_id); |
| 98 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 100 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
| 99 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); | 101 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); |
| 100 void OnWorkerStarted(int embedded_worker_id); | 102 void OnWorkerStarted(int embedded_worker_id); |
| 101 void OnWorkerStopped(int embedded_worker_id); | 103 void OnWorkerStopped(int embedded_worker_id); |
| 102 void OnPausedAfterDownload(int embedded_worker_id); | 104 void OnPausedAfterDownload(int embedded_worker_id); |
| 103 void OnReportException(int embedded_worker_id, | 105 void OnReportException(int embedded_worker_id, |
| 104 const base::string16& error_message, | 106 const base::string16& error_message, |
| 105 int line_number, | 107 int line_number, |
| 106 int column_number, | 108 int column_number, |
| 107 const GURL& source_url); | 109 const GURL& source_url); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 177 |
| 176 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 178 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
| 177 ScopedVector<IPC::Message> pending_messages_; | 179 ScopedVector<IPC::Message> pending_messages_; |
| 178 | 180 |
| 179 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 181 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 180 }; | 182 }; |
| 181 | 183 |
| 182 } // namespace content | 184 } // namespace content |
| 183 | 185 |
| 184 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 186 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |