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

Unified Diff: net/spdy/spdy_test_utils.cc

Issue 2544813002: Remove enum SpdyMajorVersion. (Closed)
Patch Set: Merge comment changes from 140661724. Created 4 years 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/spdy/spdy_test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_utils.cc
diff --git a/net/spdy/spdy_test_utils.cc b/net/spdy/spdy_test_utils.cc
index 70084e9ef6b48a12f73f649f3b5b5f7866fbb2d6..16d39dbe13de2ee9c4fd9b2b45c7003ad7d8bbbe 100644
--- a/net/spdy/spdy_test_utils.cc
+++ b/net/spdy/spdy_test_utils.cc
@@ -94,15 +94,11 @@ void CompareCharArraysWithHexError(const string& description,
<< HexDumpWithMarks(actual, actual_len, marks.get(), max_len);
}
-void SetFrameFlags(SpdySerializedFrame* frame,
- uint8_t flags,
- SpdyMajorVersion spdy_version) {
+void SetFrameFlags(SpdySerializedFrame* frame, uint8_t flags) {
frame->data()[4] = flags;
}
-void SetFrameLength(SpdySerializedFrame* frame,
- size_t length,
- SpdyMajorVersion spdy_version) {
+void SetFrameLength(SpdySerializedFrame* frame, size_t length) {
CHECK_GT(1u << 14, length);
{
int32_t wire_length = base::HostToNet32(length);
« no previous file with comments | « net/spdy/spdy_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698