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

Unified Diff: net/spdy/core/spdy_frame_reader.cc

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_frame_reader.cc
diff --git a/net/spdy/core/spdy_frame_reader.cc b/net/spdy/core/spdy_frame_reader.cc
index 17cd351dc4f9a3a074f3b39d8f8ca64b25ea7905..c87e85fc97d41ad7e7ce8260e17758d21a0e804a 100644
--- a/net/spdy/core/spdy_frame_reader.cc
+++ b/net/spdy/core/spdy_frame_reader.cc
@@ -11,10 +11,7 @@
namespace net {
SpdyFrameReader::SpdyFrameReader(const char* data, const size_t len)
- : data_(data),
- len_(len),
- ofs_(0) {
-}
+ : data_(data), len_(len), ofs_(0) {}
bool SpdyFrameReader::ReadUInt8(uint8_t* result) {
// Make sure that we have the whole uint8_t.
@@ -98,7 +95,7 @@ bool SpdyFrameReader::ReadUInt31(uint32_t* result) {
}
bool SpdyFrameReader::ReadUInt24(uint32_t* result) {
- // Make sure that we have the whole uint24.
+ // Make sure that we have the whole uint24_t.
if (!CanRead(3)) {
OnFailure();
return false;

Powered by Google App Engine
This is Rietveld 408576698