| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 int provider_id, | 107 int provider_id, |
| 108 int64_t registration_id); | 108 int64_t registration_id); |
| 109 void OnGetRegistration(int thread_id, | 109 void OnGetRegistration(int thread_id, |
| 110 int request_id, | 110 int request_id, |
| 111 int provider_id, | 111 int provider_id, |
| 112 const GURL& document_url); | 112 const GURL& document_url); |
| 113 void OnGetRegistrations(int thread_id, int request_id, int provider_id); | 113 void OnGetRegistrations(int thread_id, int request_id, int provider_id); |
| 114 void OnGetRegistrationForReady(int thread_id, | 114 void OnGetRegistrationForReady(int thread_id, |
| 115 int request_id, | 115 int request_id, |
| 116 int provider_id); | 116 int provider_id); |
| 117 void OnSetNavigationPreload(int thread_id, |
| 118 int request_id, |
| 119 int handle_id, |
| 120 const std::string& value); |
| 121 void OnGetNavigationPreload(int thread_id, int request_id, int handle_id); |
| 117 void OnProviderCreated(int provider_id, | 122 void OnProviderCreated(int provider_id, |
| 118 int route_id, | 123 int route_id, |
| 119 ServiceWorkerProviderType provider_type, | 124 ServiceWorkerProviderType provider_type, |
| 120 bool is_parent_frame_secure); | 125 bool is_parent_frame_secure); |
| 121 void OnProviderDestroyed(int provider_id); | 126 void OnProviderDestroyed(int provider_id); |
| 122 void OnSetHostedVersionId(int provider_id, | 127 void OnSetHostedVersionId(int provider_id, |
| 123 int64_t version_id, | 128 int64_t version_id, |
| 124 int embedded_worker_id); | 129 int embedded_worker_id); |
| 125 void OnWorkerReadyForInspection(int embedded_worker_id); | 130 void OnWorkerReadyForInspection(int embedded_worker_id); |
| 126 void OnWorkerScriptLoaded(int embedded_worker_id); | 131 void OnWorkerScriptLoaded(int embedded_worker_id); |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 247 |
| 243 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 248 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
| 244 std::vector<std::unique_ptr<IPC::Message>> pending_messages_; | 249 std::vector<std::unique_ptr<IPC::Message>> pending_messages_; |
| 245 | 250 |
| 246 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 251 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 247 }; | 252 }; |
| 248 | 253 |
| 249 } // namespace content | 254 } // namespace content |
| 250 | 255 |
| 251 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 256 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |