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> |
| 9 |
8 #include "base/id_map.h" | 10 #include "base/id_map.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
11 #include "content/browser/service_worker/service_worker_registration_status.h" | 13 #include "content/browser/service_worker/service_worker_registration_status.h" |
12 #include "content/public/browser/browser_message_filter.h" | 14 #include "content/public/browser/browser_message_filter.h" |
13 | 15 |
14 class GURL; | 16 class GURL; |
15 struct EmbeddedWorkerHostMsg_ReportConsoleMessage_Params; | 17 struct EmbeddedWorkerHostMsg_ReportConsoleMessage_Params; |
16 | 18 |
17 namespace content { | 19 namespace content { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 122 |
121 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. | 123 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. |
122 ScopedVector<IPC::Message> pending_messages_; | 124 ScopedVector<IPC::Message> pending_messages_; |
123 | 125 |
124 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); | 126 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); |
125 }; | 127 }; |
126 | 128 |
127 } // namespace content | 129 } // namespace content |
128 | 130 |
129 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 131 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ |
OLD | NEW |