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" |
| 11 #include "base/memory/scoped_vector.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
13 #include "content/browser/service_worker/service_worker_registration_status.h" | 14 #include "content/browser/service_worker/service_worker_registration_status.h" |
14 #include "content/common/service_worker/service_worker_types.h" | 15 #include "content/common/service_worker/service_worker_types.h" |
15 #include "content/public/browser/browser_message_filter.h" | 16 #include "content/public/browser/browser_message_filter.h" |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 struct EmbeddedWorkerHostMsg_ReportConsoleMessage_Params; | 19 struct EmbeddedWorkerHostMsg_ReportConsoleMessage_Params; |
19 | 20 |
20 namespace content { | 21 namespace content { |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 220 |
220 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 221 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
221 ScopedVector<IPC::Message> pending_messages_; | 222 ScopedVector<IPC::Message> pending_messages_; |
222 | 223 |
223 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 224 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
224 }; | 225 }; |
225 | 226 |
226 } // namespace content | 227 } // namespace content |
227 | 228 |
228 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 229 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
OLD | NEW |