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

Unified Diff: net/spdy/core/spdy_pinnable_buffer_piece.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
Index: net/spdy/core/spdy_pinnable_buffer_piece.h
diff --git a/net/spdy/core/spdy_pinnable_buffer_piece.h b/net/spdy/core/spdy_pinnable_buffer_piece.h
index 3d54c9270fedff8a37eb22eafcf89dfa8cc294d3..5a692af45df5519c2771ff923c4fdc694b57acae 100644
--- a/net/spdy/core/spdy_pinnable_buffer_piece.h
+++ b/net/spdy/core/spdy_pinnable_buffer_piece.h
@@ -25,13 +25,9 @@ struct SPDY_EXPORT_PRIVATE SpdyPinnableBufferPiece {
SpdyPinnableBufferPiece();
~SpdyPinnableBufferPiece();
- const char * buffer() const {
- return buffer_;
- }
+ const char* buffer() const { return buffer_; }
- size_t length() const {
- return length_;
- }
+ size_t length() const { return length_; }
explicit operator SpdyStringPiece() const {
return SpdyStringPiece(buffer_, length_);
@@ -48,7 +44,7 @@ struct SPDY_EXPORT_PRIVATE SpdyPinnableBufferPiece {
private:
friend class SpdyPrefixedBufferReader;
- const char * buffer_;
+ const char* buffer_;
size_t length_;
// Null iff |buffer_| isn't pinned.
std::unique_ptr<char[]> storage_;

Powered by Google App Engine
This is Rietveld 408576698