| 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_SOCKETS_TCP_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ | 6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
| 9 #include "extensions/browser/api/socket/socket_api.h" | 12 #include "extensions/browser/api/socket/socket_api.h" |
| 10 #include "extensions/common/api/sockets_tcp.h" | 13 #include "extensions/common/api/sockets_tcp.h" |
| 11 | 14 |
| 12 namespace extensions { | 15 namespace extensions { |
| 13 class ResumableTCPSocket; | 16 class ResumableTCPSocket; |
| 14 class TLSSocket; | 17 class TLSSocket; |
| 15 } | 18 } |
| 16 | 19 |
| 17 namespace extensions { | 20 namespace extensions { |
| 18 namespace api { | 21 namespace api { |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 scoped_ptr<sockets_tcp::Secure::Params> params_; | 263 scoped_ptr<sockets_tcp::Secure::Params> params_; |
| 261 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; | 264 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; |
| 262 | 265 |
| 263 DISALLOW_COPY_AND_ASSIGN(SocketsTcpSecureFunction); | 266 DISALLOW_COPY_AND_ASSIGN(SocketsTcpSecureFunction); |
| 264 }; | 267 }; |
| 265 | 268 |
| 266 } // namespace api | 269 } // namespace api |
| 267 } // namespace extensions | 270 } // namespace extensions |
| 268 | 271 |
| 269 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ | 272 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ |
| OLD | NEW |