Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: net/base/io_buffer.h

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/free_deleter.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/pickle.h" 15 #include "base/pickle.h"
15 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
16 17
17 namespace net { 18 namespace net {
18 19
19 // IOBuffers are reference counted data buffers used for easier asynchronous 20 // IOBuffers are reference counted data buffers used for easier asynchronous
20 // IO handling. 21 // IO handling.
21 // 22 //
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 public: 249 public:
249 explicit WrappedIOBuffer(const char* data); 250 explicit WrappedIOBuffer(const char* data);
250 251
251 protected: 252 protected:
252 ~WrappedIOBuffer() override; 253 ~WrappedIOBuffer() override;
253 }; 254 };
254 255
255 } // namespace net 256 } // namespace net
256 257
257 #endif // NET_BASE_IO_BUFFER_H_ 258 #endif // NET_BASE_IO_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698