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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 const GURL& pattern); | 93 const GURL& pattern); |
94 void OnGetRegistration(int thread_id, | 94 void OnGetRegistration(int thread_id, |
95 int request_id, | 95 int request_id, |
96 int provider_id, | 96 int provider_id, |
97 const GURL& document_url); | 97 const GURL& document_url); |
98 void OnGetRegistrationForReady(int thread_id, | 98 void OnGetRegistrationForReady(int thread_id, |
99 int request_id, | 99 int request_id, |
100 int provider_id); | 100 int provider_id); |
101 void OnProviderCreated(int provider_id, | 101 void OnProviderCreated(int provider_id, |
102 int render_frame_id, | 102 int render_frame_id, |
103 ServiceWorkerProviderType provider_type); | 103 int shared_worker_route_id); |
104 void OnProviderDestroyed(int provider_id); | 104 void OnProviderDestroyed(int provider_id); |
105 void OnSetHostedVersionId(int provider_id, int64 version_id); | 105 void OnSetHostedVersionId(int provider_id, int64 version_id); |
106 void OnWorkerReadyForInspection(int embedded_worker_id); | 106 void OnWorkerReadyForInspection(int embedded_worker_id); |
107 void OnWorkerScriptLoaded(int embedded_worker_id, | 107 void OnWorkerScriptLoaded(int embedded_worker_id, |
108 int thread_id, | 108 int thread_id, |
109 int provider_id); | 109 int provider_id); |
110 void OnWorkerScriptLoadFailed(int embedded_worker_id); | 110 void OnWorkerScriptLoadFailed(int embedded_worker_id); |
111 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); | 111 void OnWorkerScriptEvaluated(int embedded_worker_id, bool success); |
112 void OnWorkerStarted(int embedded_worker_id); | 112 void OnWorkerStarted(int embedded_worker_id); |
113 void OnWorkerStopped(int embedded_worker_id); | 113 void OnWorkerStopped(int embedded_worker_id); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 192 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
193 ScopedVector<IPC::Message> pending_messages_; | 193 ScopedVector<IPC::Message> pending_messages_; |
194 | 194 |
195 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 195 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
196 }; | 196 }; |
197 | 197 |
198 } // namespace content | 198 } // namespace content |
199 | 199 |
200 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 200 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
OLD | NEW |