summaryrefslogtreecommitdiffstats
path: root/net/base/io_buffer.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 19:47:21 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 19:47:21 +0000
commit319d9e6f29cc2d27c0f72ce701d905d2402c350a (patch)
tree5d637ba43b9aeed5c925e694e50aa251230c0b92 /net/base/io_buffer.cc
parent22f21125f11953e1022f5e75e560c1af9484503e (diff)
downloadchromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.zip
chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.gz
chromium_src-319d9e6f29cc2d27c0f72ce701d905d2402c350a.tar.bz2
Reduce the amount of included header files. Vast change like in "Oh God! This revision changes half of the source files!".
Review URL: http://codereview.chromium.org/20378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/io_buffer.cc')
-rw-r--r--net/base/io_buffer.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/base/io_buffer.cc b/net/base/io_buffer.cc
new file mode 100644
index 0000000..c9b4532
--- /dev/null
+++ b/net/base/io_buffer.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/base/io_buffer.h"
+
+#include "base/logging.h"
+
+namespace net {
+
+IOBuffer::IOBuffer(int buffer_size) {
+ DCHECK(buffer_size);
+ data_ = new char[buffer_size];
+}
+
+} // namespace net