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

Unified Diff: net/spdy/spdy_test_util_common.h

Issue 1466493002: Remove unused SpdyTestUtil methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 | net/spdy/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/spdy_test_util_common.h
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index db6e65cf62c22398e38ea0d88772e97761fafc11..33c8b33b3baedcdb3f4157f286f2cfe503fa1d50 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -52,28 +52,11 @@ const int kUploadDataSize = arraysize(kUploadData)-1;
// SPDY.
NextProtoVector SpdyNextProtos();
-// Chop a frame into an array of MockWrites.
-// |data| is the frame to chop.
-// |length| is the length of the frame to chop.
-// |num_chunks| is the number of chunks to create.
-MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks);
-
// Chop a SpdyFrame into an array of MockWrites.
// |frame| is the frame to chop.
// |num_chunks| is the number of chunks to create.
MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks);
-// Chop a frame into an array of MockReads.
-// |data| is the frame to chop.
-// |length| is the length of the frame to chop.
-// |num_chunks| is the number of chunks to create.
-MockRead* ChopReadFrame(const char* data, int length, int num_chunks);
-
-// Chop a SpdyFrame into an array of MockReads.
-// |frame| is the frame to chop.
-// |num_chunks| is the number of chunks to create.
-MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks);
-
// Adds headers and values to a map.
// |extra_headers| is an array of { name, value } pairs, arranged as strings
// where the even entries are the header names, and the odd entries are the
@@ -415,11 +398,6 @@ class SpdyTestUtil {
SpdyStreamId stream_id,
RequestPriority request_priority);
- SpdyFrame* ConstructSpdyGetForProxy(const char* const url,
- bool compressed,
- SpdyStreamId stream_id,
- RequestPriority request_priority) const;
-
// Constructs a standard SPDY GET SYN frame, optionally compressed.
// |extra_headers| are the extra header-value pairs, which typically
// will vary the most between calls. If |direct| is false, the
@@ -557,8 +535,6 @@ class SpdyTestUtil {
// class of stream destruction.
void UpdateWithStreamDestruction(int stream_id);
- const SpdyHeaderInfo MakeSpdyHeader(SpdyFrameType type);
-
// For versions below SPDY4, adds the version HTTP/1.1 header.
void MaybeAddVersionHeader(SpdyFrameWithHeaderBlockIR* frame_ir) const;
void MaybeAddVersionHeader(SpdyHeaderBlock* block) const;
« no previous file with comments | « no previous file | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698