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

Unified Diff: net/spdy/core/array_output_buffer.h

Issue 2895993003: Misc cleanup in net/spdy/core. (Closed)
Patch Set: Rebase. Created 3 years, 7 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 | « no previous file | net/spdy/core/array_output_buffer_test.cc » ('j') | net/spdy/core/spdy_framer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/core/array_output_buffer.h
diff --git a/net/spdy/core/array_output_buffer.h b/net/spdy/core/array_output_buffer.h
index c9b147ac75ae2a42ea4d25d25527f6142a45a405..35ecfe860ca5c30cc7d6112dc79135e443708909 100644
--- a/net/spdy/core/array_output_buffer.h
+++ b/net/spdy/core/array_output_buffer.h
@@ -18,6 +18,9 @@ class ArrayOutputBuffer : public ZeroCopyOutputBuffer {
: current_(buffer), begin_(buffer), capacity_(size) {}
~ArrayOutputBuffer() override{};
+ ArrayOutputBuffer(const ArrayOutputBuffer&) = delete;
+ ArrayOutputBuffer& operator=(const ArrayOutputBuffer&) = delete;
+
void Next(char** data, int* size) override;
void AdvanceWritePtr(int64_t count) override;
uint64_t BytesFree() const override;
@@ -31,8 +34,6 @@ class ArrayOutputBuffer : public ZeroCopyOutputBuffer {
current_ = begin_;
}
- ArrayOutputBuffer(const ArrayOutputBuffer&) = delete;
- ArrayOutputBuffer& operator=(const ArrayOutputBuffer&) = delete;
private:
char* current_ = nullptr;
« no previous file with comments | « no previous file | net/spdy/core/array_output_buffer_test.cc » ('j') | net/spdy/core/spdy_framer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698