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

Unified Diff: net/base/io_buffer.h

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/host_mapping_rules.cc ('k') | net/base/io_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/io_buffer.h
diff --git a/net/base/io_buffer.h b/net/base/io_buffer.h
index f8fb3280ad95fbf1a35e123a45a8756932bf0862..527864bedf82edb02fc76b4009f38404b26e0472 100644
--- a/net/base/io_buffer.h
+++ b/net/base/io_buffer.h
@@ -46,7 +46,7 @@ class IOBufferWithSize : public IOBuffer {
int size() const { return size_; }
private:
- ~IOBufferWithSize() {}
+ virtual ~IOBufferWithSize();
int size_;
};
@@ -60,7 +60,7 @@ class StringIOBuffer : public IOBuffer {
int size() const { return string_data_.size(); }
private:
- ~StringIOBuffer();
+ virtual ~StringIOBuffer();
std::string string_data_;
};
@@ -88,7 +88,7 @@ class DrainableIOBuffer : public IOBuffer {
int size() const { return size_; }
private:
- ~DrainableIOBuffer();
+ virtual ~DrainableIOBuffer();
scoped_refptr<IOBuffer> base_;
int size_;
@@ -112,7 +112,7 @@ class GrowableIOBuffer : public IOBuffer {
char* StartOfBuffer();
private:
- ~GrowableIOBuffer();
+ virtual ~GrowableIOBuffer();
scoped_ptr_malloc<char> real_data_;
int capacity_;
@@ -132,7 +132,7 @@ class PickledIOBuffer : public IOBuffer {
void Done();
private:
- ~PickledIOBuffer();
+ virtual ~PickledIOBuffer();
Pickle pickle_;
};
@@ -147,7 +147,7 @@ class WrappedIOBuffer : public IOBuffer {
explicit WrappedIOBuffer(const char* data);
protected:
- ~WrappedIOBuffer();
+ virtual ~WrappedIOBuffer();
};
} // namespace net
« no previous file with comments | « net/base/host_mapping_rules.cc ('k') | net/base/io_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698