| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 int provider_id, | 122 int provider_id, |
| 123 ServiceWorkerRegistration* registration, | 123 ServiceWorkerRegistration* registration, |
| 124 ServiceWorkerRegistrationObjectInfo* info, | 124 ServiceWorkerRegistrationObjectInfo* info, |
| 125 ServiceWorkerVersionAttributes* attrs); | 125 ServiceWorkerVersionAttributes* attrs); |
| 126 | 126 |
| 127 // Callbacks from ServiceWorkerContextCore | 127 // Callbacks from ServiceWorkerContextCore |
| 128 void RegistrationComplete(int thread_id, | 128 void RegistrationComplete(int thread_id, |
| 129 int provider_id, | 129 int provider_id, |
| 130 int request_id, | 130 int request_id, |
| 131 ServiceWorkerStatusCode status, | 131 ServiceWorkerStatusCode status, |
| 132 int64 registration_id, | 132 int64 registration_id); |
| 133 int64 version_id); | |
| 134 | 133 |
| 135 void UnregistrationComplete(int thread_id, | 134 void UnregistrationComplete(int thread_id, |
| 136 int request_id, | 135 int request_id, |
| 137 ServiceWorkerStatusCode status); | 136 ServiceWorkerStatusCode status); |
| 138 | 137 |
| 139 void GetRegistrationComplete( | 138 void GetRegistrationComplete( |
| 140 int thread_id, | 139 int thread_id, |
| 141 int provider_id, | 140 int provider_id, |
| 142 int request_id, | 141 int request_id, |
| 143 ServiceWorkerStatusCode status, | 142 ServiceWorkerStatusCode status, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 166 | 165 |
| 167 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 166 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
| 168 ScopedVector<IPC::Message> pending_messages_; | 167 ScopedVector<IPC::Message> pending_messages_; |
| 169 | 168 |
| 170 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 169 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
| 171 }; | 170 }; |
| 172 | 171 |
| 173 } // namespace content | 172 } // namespace content |
| 174 | 173 |
| 175 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 174 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
| OLD | NEW |