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

Unified Diff: net/spdy/chromium/spdy_test_util_common.h

Issue 2936663002: Simplify CombineFrames() interface. (Closed)
Patch Set: Re: #7. Created 3 years, 6 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 | « net/spdy/chromium/spdy_session_unittest.cc ('k') | net/spdy/chromium/spdy_test_util_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/chromium/spdy_test_util_common.h
diff --git a/net/spdy/chromium/spdy_test_util_common.h b/net/spdy/chromium/spdy_test_util_common.h
index be5f42945c89cdf1a9772faf5813eefa4c9291c5..82e5a56c9c9f611e2239dec8c5298b1beaf7fec3 100644
--- a/net/spdy/chromium/spdy_test_util_common.h
+++ b/net/spdy/chromium/spdy_test_util_common.h
@@ -90,12 +90,9 @@ MockRead CreateMockRead(const SpdySerializedFrame& resp, int seq);
MockRead CreateMockRead(const SpdySerializedFrame& resp, int seq, IoMode mode);
-// Combines the given SpdySerializedFrame into the given char array and returns
-// the total length.
-int CombineFrames(const SpdySerializedFrame** frames,
- int num_frames,
- char* buf,
- int buf_len);
+// Combines the given vector of SpdySerializedFrame into a single frame.
+SpdySerializedFrame CombineFrames(
+ std::vector<const SpdySerializedFrame*> frames);
// Returns the SpdyPriority embedded in the given frame. Returns true
// and fills in |priority| on success.
« no previous file with comments | « net/spdy/chromium/spdy_session_unittest.cc ('k') | net/spdy/chromium/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698