OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ |
6 #define EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ | 6 #define EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "extensions/browser/api/api_resource_manager.h" | 10 #include "extensions/browser/api/api_resource_manager.h" |
9 #include "extensions/browser/api/sockets_udp/sockets_udp_api.h" | 11 #include "extensions/browser/api/sockets_udp/sockets_udp_api.h" |
10 | 12 |
11 namespace content { | 13 namespace content { |
12 class BrowserContext; | 14 class BrowserContext; |
13 } | 15 } |
14 | 16 |
15 namespace extensions { | 17 namespace extensions { |
16 struct Event; | 18 struct Event; |
17 class ResumableUDPSocket; | 19 class ResumableUDPSocket; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Usually IO thread (except for unit testing). | 86 // Usually IO thread (except for unit testing). |
85 content::BrowserThread::ID thread_id_; | 87 content::BrowserThread::ID thread_id_; |
86 content::BrowserContext* const browser_context_; | 88 content::BrowserContext* const browser_context_; |
87 scoped_refptr<SocketData> sockets_; | 89 scoped_refptr<SocketData> sockets_; |
88 }; | 90 }; |
89 | 91 |
90 } // namespace core_api | 92 } // namespace core_api |
91 } // namespace extensions | 93 } // namespace extensions |
92 | 94 |
93 #endif // EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ | 95 #endif // EXTENSIONS_BROWSER_API_SOCKETS_UDP_UDP_SOCKET_EVENT_DISPATCHER_H_ |
OLD | NEW |