| 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 <vector> | 10 #include <vector> |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 int thread_id, | 181 int thread_id, |
| 182 int provider_id, | 182 int provider_id, |
| 183 int request_id, | 183 int request_id, |
| 184 ServiceWorkerStatusCode status, | 184 ServiceWorkerStatusCode status, |
| 185 const scoped_refptr<ServiceWorkerRegistration>& registration); | 185 const scoped_refptr<ServiceWorkerRegistration>& registration); |
| 186 | 186 |
| 187 void GetRegistrationsComplete( | 187 void GetRegistrationsComplete( |
| 188 int thread_id, | 188 int thread_id, |
| 189 int provider_id, | 189 int provider_id, |
| 190 int request_id, | 190 int request_id, |
| 191 ServiceWorkerStatusCode status, |
| 191 const std::vector<scoped_refptr<ServiceWorkerRegistration>>& | 192 const std::vector<scoped_refptr<ServiceWorkerRegistration>>& |
| 192 registrations); | 193 registrations); |
| 193 | 194 |
| 194 void GetRegistrationForReadyComplete( | 195 void GetRegistrationForReadyComplete( |
| 195 int thread_id, | 196 int thread_id, |
| 196 int request_id, | 197 int request_id, |
| 197 base::WeakPtr<ServiceWorkerProviderHost> provider_host, | 198 base::WeakPtr<ServiceWorkerProviderHost> provider_host, |
| 198 ServiceWorkerRegistration* registration); | 199 ServiceWorkerRegistration* registration); |
| 199 | 200 |
| 200 void SendRegistrationError(int thread_id, | 201 void SendRegistrationError(int thread_id, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 235 |
| 235 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 236 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
| 236 std::vector<scoped_ptr<IPC::Message>> pending_messages_; | 237 std::vector<scoped_ptr<IPC::Message>> pending_messages_; |
| 237 | 238 |
| 238 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 239 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 239 }; | 240 }; |
| 240 | 241 |
| 241 } // namespace content | 242 } // namespace content |
| 242 | 243 |
| 243 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 244 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |