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

Unified Diff: net/spdy/spdy_protocol.cc

Issue 198213007: Add some break statements in spdy_protocol for clarity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_protocol.cc
diff --git a/net/spdy/spdy_protocol.cc b/net/spdy/spdy_protocol.cc
index 157993caff8afc21e91ef5abfab360ac7cce6241..cec9ba29dc06da07abf0e0ab09fe3bcfcdef83b6 100644
--- a/net/spdy/spdy_protocol.cc
+++ b/net/spdy/spdy_protocol.cc
@@ -86,6 +86,7 @@ SpdyFrameType SpdyConstants::ParseFrameType(SpdyMajorVersion version,
case 9:
return WINDOW_UPDATE;
}
+ break;
case SPDY4:
switch (frame_type_field) {
case 0:
@@ -110,6 +111,7 @@ SpdyFrameType SpdyConstants::ParseFrameType(SpdyMajorVersion version,
case 10:
return BLOCKED;
}
+ break;
}
LOG(DFATAL) << "Unhandled frame type " << frame_type_field;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698