| 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 NET_BASE_IO_BUFFER_H_ | 5 #ifndef NET_BASE_IO_BUFFER_H_ |
| 6 #define NET_BASE_IO_BUFFER_H_ | 6 #define NET_BASE_IO_BUFFER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/pickle.h" | 14 #include "base/pickle.h" |
| 13 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 14 | 16 |
| 15 namespace net { | 17 namespace net { |
| 16 | 18 |
| 17 // IOBuffers are reference counted data buffers used for easier asynchronous | 19 // IOBuffers are reference counted data buffers used for easier asynchronous |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 public: | 248 public: |
| 247 explicit WrappedIOBuffer(const char* data); | 249 explicit WrappedIOBuffer(const char* data); |
| 248 | 250 |
| 249 protected: | 251 protected: |
| 250 ~WrappedIOBuffer() override; | 252 ~WrappedIOBuffer() override; |
| 251 }; | 253 }; |
| 252 | 254 |
| 253 } // namespace net | 255 } // namespace net |
| 254 | 256 |
| 255 #endif // NET_BASE_IO_BUFFER_H_ | 257 #endif // NET_BASE_IO_BUFFER_H_ |
| OLD | NEW |