OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "net/base/address_list.h" | 13 #include "net/base/address_list.h" |
15 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
16 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
17 | 16 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 114 |
116 scoped_ptr<net::StreamSocket> socket_; | 115 scoped_ptr<net::StreamSocket> socket_; |
117 | 116 |
118 scoped_refptr<net::IOBuffer> read_buffer_; | 117 scoped_refptr<net::IOBuffer> read_buffer_; |
119 scoped_refptr<net::IOBuffer> write_buffer_; | 118 scoped_refptr<net::IOBuffer> write_buffer_; |
120 | 119 |
121 DISALLOW_COPY_AND_ASSIGN(PepperTCPSocket); | 120 DISALLOW_COPY_AND_ASSIGN(PepperTCPSocket); |
122 }; | 121 }; |
123 | 122 |
124 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ | 123 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SOCKET_H_ |
OLD | NEW |