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_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SOCKETS_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ |
6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ | 6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ |
7 | 7 |
| 8 #include "base/gtest_prod_util.h" |
8 #include "extensions/browser/api/socket/socket_api.h" | 9 #include "extensions/browser/api/socket/socket_api.h" |
9 #include "extensions/common/api/sockets_tcp_server.h" | 10 #include "extensions/common/api/sockets_tcp_server.h" |
10 | 11 |
11 namespace extensions { | 12 namespace extensions { |
12 class ResumableTCPServerSocket; | 13 class ResumableTCPServerSocket; |
13 } | 14 } |
14 | 15 |
15 namespace extensions { | 16 namespace extensions { |
16 namespace api { | 17 namespace api { |
17 | 18 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 170 |
170 // AsyncApiFunction: | 171 // AsyncApiFunction: |
171 bool Prepare() override; | 172 bool Prepare() override; |
172 void Work() override; | 173 void Work() override; |
173 }; | 174 }; |
174 | 175 |
175 } // namespace api | 176 } // namespace api |
176 } // namespace extensions | 177 } // namespace extensions |
177 | 178 |
178 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ | 179 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SERVER_SOCKETS_TCP_SERVER_API_H_ |
OLD | NEW |