HomeSort by relevance Sort by last modified time
    Searched refs:SpdyFrame (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/net/spdy/
spdy_websocket_test_util.h 32 SpdyFrame* ConstructSpdyWebSocketSynStream(int stream_id,
39 SpdyFrame* ConstructSpdyWebSocketSynReply(int stream_id);
42 SpdyFrame* ConstructSpdyWebSocketHandshakeRequestFrame(
48 SpdyFrame* ConstructSpdyWebSocketHandshakeResponseFrame(
54 SpdyFrame* ConstructSpdyWebSocketHeadersFrame(int stream_id,
59 SpdyFrame* ConstructSpdyWebSocketDataFrame(const char* data,
65 SpdyFrame* ConstructSpdySettings(const SettingsMap& settings) const;
66 SpdyFrame* ConstructSpdySettingsAck() const;
spdy_test_util_common.h 61 // Chop a SpdyFrame into an array of MockWrites.
64 MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks);
72 // Chop a SpdyFrame into an array of MockReads.
75 MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks);
86 // Create an async MockWrite from the given SpdyFrame.
87 MockWrite CreateMockWrite(const SpdyFrame& req);
89 // Create an async MockWrite from the given SpdyFrame and sequence number.
90 MockWrite CreateMockWrite(const SpdyFrame& req, int seq);
92 MockWrite CreateMockWrite(const SpdyFrame& req, int seq, IoMode mode);
94 // Create a MockRead from the given SpdyFrame
    [all...]
spdy_test_utils.h 26 void SetFrameFlags(SpdyFrame* frame,
30 void SetFrameLength(SpdyFrame* frame,
spdy_buffer.h 20 class SpdyFrame;
50 explicit SpdyBuffer(scoped_ptr<SpdyFrame> frame);
89 // Ref-count the passed-in SpdyFrame to support the semantics of
91 typedef base::RefCountedData<scoped_ptr<SpdyFrame> > SharedFrame;
spdy_proxy_client_socket_unittest.cc 76 SpdyFrame* ConstructConnectRequestFrame();
77 SpdyFrame* ConstructConnectAuthRequestFrame();
78 SpdyFrame* ConstructConnectReplyFrame();
79 SpdyFrame* ConstructConnectAuthReplyFrame();
80 SpdyFrame* ConstructConnectRedirectReplyFrame();
81 SpdyFrame* ConstructConnectErrorReplyFrame();
82 SpdyFrame* ConstructBodyFrame(const char* data, int length);
330 SpdyFrame*
339 SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthRequestFrame() {
347 SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectReplyFrame()
    [all...]
spdy_frame_builder_test.cc 34 scoped_ptr<SpdyFrame> frame(builder.take());
47 scoped_ptr<SpdyFrame> expected(framer.SerializeSettings(settings_ir));
57 scoped_ptr<SpdyFrame> built(builder.take());
70 scoped_ptr<SpdyFrame> expected(framer.SerializeHeaders(headers_ir));
74 scoped_ptr<SpdyFrame> built(builder.take());
spdy_network_transaction_unittest.cc 754 scoped_ptr<SpdyFrame> req(
758 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
759 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true));
781 scoped_ptr<SpdyFrame> req(
830 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
831 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true));
863 scoped_ptr<SpdyFrame> req(
865 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
866 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, false));
867 scoped_ptr<SpdyFrame> fbody(spdy_util_.ConstructSpdyBodyFrame(1, true))
    [all...]
spdy_websocket_test_util.cc 33 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynStream(
53 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynReply(
66 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeRequestFrame(
91 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeResponseFrame(
116 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHeadersFrame(
133 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketDataFrame(
148 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettings(
153 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettingsAck() const {
spdy_buffer.cc 21 // Makes a SpdyFrame with |size| bytes of data copied from
23 scoped_ptr<SpdyFrame> MakeSpdyFrame(const char* data, size_t size) {
29 scoped_ptr<SpdyFrame> frame(
30 new SpdyFrame(frame_data.release(), size, true /* owns_buffer */));
59 SpdyBuffer::SpdyBuffer(scoped_ptr<SpdyFrame> frame)
buffered_spdy_framer.h 30 // Called if an error is detected in the SpdyFrame protocol.
175 SpdyFrame* CreateSynStream(SpdyStreamId stream_id,
180 SpdyFrame* CreateSynReply(SpdyStreamId stream_id,
183 SpdyFrame* CreateRstStream(SpdyStreamId stream_id,
185 SpdyFrame* CreateSettings(const SettingsMap& values) const;
186 SpdyFrame* CreatePingFrame(uint32 unique_id, bool is_ack) const;
187 SpdyFrame* CreateGoAway(
190 SpdyFrame* CreateHeaders(SpdyStreamId stream_id,
193 SpdyFrame* CreateWindowUpdate(
196 SpdyFrame* CreateDataFrame(SpdyStreamId stream_id
    [all...]
spdy_test_util_common.cc 78 // Chop a SpdyFrame into an array of MockWrites.
81 MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks) {
101 // Chop a SpdyFrame into an array of MockReads.
104 MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks) {
155 // Create a MockWrite from the given SpdyFrame.
156 MockWrite CreateMockWrite(const SpdyFrame& req) {
160 // Create a MockWrite from the given SpdyFrame and sequence number.
161 MockWrite CreateMockWrite(const SpdyFrame& req, int seq) {
165 // Create a MockWrite from the given SpdyFrame and sequence number.
166 MockWrite CreateMockWrite(const SpdyFrame& req, int seq, IoMode mode)
    [all...]
spdy_frame_builder.h 75 SpdyFrame* take() {
81 SpdyFrame* rv = new SpdyFrame(buffer_.release(), length(), true);
spdy_stream_unittest.cc 73 void AddRead(const SpdyFrame& frame) {
77 void AddWrite(const SpdyFrame& frame) {
123 scoped_ptr<SpdyFrame> req(
128 scoped_ptr<SpdyFrame> resp(
132 scoped_ptr<SpdyFrame> msg(
136 scoped_ptr<SpdyFrame> echo(
239 scoped_ptr<SpdyFrame> req(
244 scoped_ptr<SpdyFrame> resp(
248 scoped_ptr<SpdyFrame> msg(
252 scoped_ptr<SpdyFrame> echo
    [all...]
spdy_http_stream_unittest.cc 158 scoped_ptr<SpdyFrame> req(
163 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
220 scoped_ptr<SpdyFrame> req1(
222 scoped_ptr<SpdyFrame> req2(
228 scoped_ptr<SpdyFrame> resp1(
230 scoped_ptr<SpdyFrame> body1(
232 scoped_ptr<SpdyFrame> resp2(
234 scoped_ptr<SpdyFrame> body2(
318 scoped_ptr<SpdyFrame> req(
320 scoped_ptr<SpdyFrame> body
    [all...]
buffered_spdy_framer.cc 267 SpdyFrame* BufferedSpdyFramer::CreateSynStream(
285 SpdyFrame* BufferedSpdyFramer::CreateSynReply(
298 SpdyFrame* BufferedSpdyFramer::CreateRstStream(
309 SpdyFrame* BufferedSpdyFramer::CreateSettings(
325 SpdyFrame* BufferedSpdyFramer::CreatePingFrame(uint32 unique_id,
333 SpdyFrame* BufferedSpdyFramer::CreateGoAway(
341 SpdyFrame* BufferedSpdyFramer::CreateHeaders(
353 SpdyFrame* BufferedSpdyFramer::CreateWindowUpdate(
361 SpdyFrame* BufferedSpdyFramer::CreateDataFrame(SpdyStreamId stream_id,
372 SpdyFrame* BufferedSpdyFramer::CreatePushPromise
    [all...]
buffered_spdy_framer_unittest.cc 107 void OnDataFrameHeader(const SpdyFrame* frame) {
111 void OnRstStream(const SpdyFrame& frame) {}
112 void OnGoAway(const SpdyFrame& frame) {}
113 void OnPing(const SpdyFrame& frame) {}
128 void OnCredential(const SpdyFrame& frame) {}
218 scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir));
233 scoped_ptr<SpdyFrame> control_frame(
258 scoped_ptr<SpdyFrame> control_frame(
286 scoped_ptr<SpdyFrame> control_frame(
311 scoped_ptr<SpdyFrame> control_frame
    [all...]
spdy_session_unittest.cc 290 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
320 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
347 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1));
352 scoped_ptr<SpdyFrame> req1(
354 scoped_ptr<SpdyFrame> req2(
427 scoped_ptr<SpdyFrame> goaway1(spdy_util_.ConstructSpdyGoAway(1));
428 scoped_ptr<SpdyFrame> goaway2(spdy_util_.ConstructSpdyGoAway(0));
434 scoped_ptr<SpdyFrame> req1(
436 scoped_ptr<SpdyFrame> req2(
507 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1))
    [all...]
spdy_framer_test.cc 55 // Returns a new decompressed SpdyFrame.
56 template<class SpdyFrameType> static SpdyFrame* DecompressFrame(
66 SpdyFrame* decompressed_frame = new SpdyFrame(buffer, visitor.size(), true);
126 scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream));
137 scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers));
168 scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers));
184 scoped_ptr<SpdyFrame> frame(framer.SerializePushPromise(push_promise));
525 base::StringPiece GetSerializedHeaders(const SpdyFrame* frame,
581 const SpdyFrame& actual_frame
    [all...]
spdy_buffer_unittest.cc 33 // Construct a SpdyBuffer from a SpdyFrame and make sure its data
37 scoped_ptr<SpdyFrame>(
38 new SpdyFrame(const_cast<char*>(kData), kDataSize,
spdy_test_utils.cc 88 void SetFrameFlags(SpdyFrame* frame,
105 void SetFrameLength(SpdyFrame* frame,
spdy_stream.h 476 scoped_ptr<SpdyFrame> ProduceSynStreamFrame();
480 scoped_ptr<SpdyFrame> ProduceHeaderFrame(
  /external/chromium_org/net/quic/
spdy_utils.cc 21 scoped_ptr<SpdyFrame> block(builder.take());
  /external/chromium_org/net/http/
http_proxy_client_socket_pool_unittest.cc 291 scoped_ptr<SpdyFrame> req(
293 scoped_ptr<SpdyFrame> rst(
304 scoped_ptr<SpdyFrame> resp(
388 scoped_ptr<SpdyFrame> req(
393 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
426 scoped_ptr<SpdyFrame> req(
432 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
533 scoped_ptr<SpdyFrame> req(
607 scoped_ptr<SpdyFrame> req(
609 scoped_ptr<SpdyFrame> rst
    [all...]
http_network_transaction_unittest.cc     [all...]
  /external/chromium_org/net/tools/flip_server/
spdy_interface.cc 25 explicit SpdyFrameDataFrame(SpdyFrame* spdy_frame) : frame(spdy_frame) {
32 const SpdyFrame* frame;
343 SpdyFrame* settings_frame = buffered_spdy_framer_->CreateSettings(settings);
478 SpdyFrame* fsrcf = buffered_spdy_framer_->CreateSynStream(
502 SpdyFrame* fsrcf = buffered_spdy_framer_->CreateSynReply(
522 SpdyFrame* fdf =
539 SpdyFrame* fdf = buffered_spdy_framer_->CreateDataFrame(

Completed in 80 milliseconds

1 2