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

1 2 3

  /external/chromium/net/spdy/
spdy_test_util.h 21 #include "net/spdy/spdy_framer.h"
33 // This struct holds information used to construct spdy control and data frames.
35 spdy::SpdyControlType kind;
36 spdy::SpdyStreamId id;
37 spdy::SpdyStreamId assoc_id;
38 spdy::SpdyPriority priority;
39 spdy::SpdyControlFlags control_flags;
41 spdy::SpdyStatusCodes status;
44 spdy::SpdyDataFlags data_flags;
56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks)
    [all...]
spdy_settings_storage.cc 5 #include "net/spdy/spdy_settings_storage.h"
17 const spdy::SpdySettings& SpdySettingsStorage::Get(
21 static const spdy::SpdySettings kEmpty;
28 const spdy::SpdySettings& settings) {
29 spdy::SpdySettings persistent_settings;
33 spdy::SpdySettings::const_iterator it;
35 spdy::SettingsFlagsAndId id = it->first;
36 if (id.flags() & spdy::SETTINGS_FLAG_PLEASE_PERSIST) {
37 id.set_flags(spdy::SETTINGS_FLAG_PERSISTED);
spdy_settings_storage.h 12 #include "net/spdy/spdy_framer.h"
17 // endpoints for the SPDY SETTINGS frame.
25 const spdy::SpdySettings& Get(const HostPortPair& host_port_pair) const;
29 const spdy::SpdySettings& settings);
32 typedef std::map<HostPortPair, spdy::SpdySettings> SettingsMap;
spdy_session.h 28 #include "net/spdy/spdy_framer.h"
29 #include "net/spdy/spdy_io_buffer.h"
30 #include "net/spdy/spdy_protocol.h"
31 #include "net/spdy/spdy_session_pool.h"
40 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::size();
48 public spdy::SpdyFramerVisitorInterface {
99 // Check to see if this SPDY session can support an additional domain.
109 spdy::SpdyStreamId stream_id,
111 spdy::SpdyControlFlags flags,
112 const linked_ptr<spdy::SpdyHeaderBlock>& headers)
    [all...]
spdy_http_utils.h 10 #include "net/spdy/spdy_framer.h"
23 bool SpdyHeadersToHttpResponse(const spdy::SpdyHeaderBlock& headers,
26 // Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from
30 spdy::SpdyHeaderBlock* headers,
spdy_test_util.cc 5 #include "net/spdy/spdy_test_util.h"
14 #include "net/spdy/spdy_framer.h"
15 #include "net/spdy/spdy_http_utils.h"
38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) {
40 frame.length() + spdy::SpdyFrame::size(),
63 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks) {
65 frame.length() + spdy::SpdyFrame::size(),
76 spdy::SpdyHeaderBlock* headers) {
141 // Construct a SPDY packet.
149 spdy::SpdyFrame* ConstructSpdyPacket(const SpdyHeaderInfo& header_info
    [all...]
spdy_bitmasks.h 9 namespace spdy { namespace
32 } // namespace spdy
spdy_proxy_client_socket_unittest.cc 5 #include "net/spdy/spdy_proxy_client_socket.h"
19 #include "net/spdy/spdy_http_utils.h"
20 #include "net/spdy/spdy_protocol.h"
21 #include "net/spdy/spdy_session_pool.h"
22 #include "net/spdy/spdy_test_util.h"
65 spdy::SpdyFrame* ConstructConnectRequestFrame();
66 spdy::SpdyFrame* ConstructConnectAuthRequestFrame();
67 spdy::SpdyFrame* ConstructConnectReplyFrame();
68 spdy::SpdyFrame* ConstructConnectAuthReplyFrame();
69 spdy::SpdyFrame* ConstructConnectErrorReplyFrame()
    [all...]
spdy_stream_unittest.cc 6 #include "net/spdy/spdy_stream.h"
7 #include "net/spdy/spdy_http_utils.h"
8 #include "net/spdy/spdy_session.h"
9 #include "net/spdy/spdy_test_util.h"
41 response_(new spdy::SpdyHeaderBlock),
59 virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response,
67 spdy::DATA_FLAG_NONE));
86 const linked_ptr<spdy::SpdyHeaderBlock>& response() const {
98 linked_ptr<spdy::SpdyHeaderBlock> response_;
104 spdy::SpdyFrame* ConstructSpdyBodyFrame(const char* data, int length)
    [all...]
spdy_protocol_test.cc 5 #include "net/spdy/spdy_protocol.h"
8 #include "net/spdy/spdy_bitmasks.h"
9 #include "net/spdy/spdy_framer.h"
12 using spdy::CONTROL_FLAG_FIN;
13 using spdy::CONTROL_FLAG_NONE;
14 using spdy::GOAWAY;
15 using spdy::HEADERS;
16 using spdy::NOOP;
17 using spdy::PING;
18 using spdy::RST_STREAM
    [all...]
spdy_stream.h 21 #include "net/spdy/spdy_framer.h"
22 #include "net/spdy/spdy_protocol.h"
43 // Delegate handles protocol specific behavior of spdy stream.
68 virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response,
94 spdy::SpdyStreamId stream_id,
111 spdy::SpdyStreamId stream_id() const { return stream_id_; }
112 void set_stream_id(spdy::SpdyStreamId stream_id) { stream_id_ = stream_id; }
165 const linked_ptr<spdy::SpdyHeaderBlock>& spdy_headers() const;
166 void set_spdy_headers(const linked_ptr<spdy::SpdyHeaderBlock>& headers);
172 int OnResponseReceived(const spdy::SpdyHeaderBlock& response)
    [all...]
spdy_session.cc 5 #include "net/spdy/spdy_session.h"
25 #include "net/spdy/spdy_frame_builder.h"
26 #include "net/spdy/spdy_http_utils.h"
27 #include "net/spdy/spdy_protocol.h"
28 #include "net/spdy/spdy_session_pool.h"
29 #include "net/spdy/spdy_settings_storage.h"
30 #include "net/spdy/spdy_stream.h"
35 const linked_ptr<spdy::SpdyHeaderBlock>& headers,
36 spdy::SpdyControlFlags flags,
37 spdy::SpdyStreamId id
    [all...]
spdy_network_transaction_unittest.cc 15 #include "net/spdy/spdy_http_stream.h"
16 #include "net/spdy/spdy_http_utils.h"
17 #include "net/spdy/spdy_session.h"
18 #include "net/spdy/spdy_session_pool.h"
19 #include "net/spdy/spdy_test_util.h"
61 spdy::SpdyFramer::set_enable_compression_default(enabled);
145 // We're now ready to use SSL-npn SPDY.
175 // If SPDY is not enabled, a HTTP request should not be diverted
236 ssl_->next_proto = "spdy/2";
263 ssl_->next_proto = "spdy/2"
    [all...]
spdy_stream.cc 5 #include "net/spdy/spdy_stream.h"
10 #include "net/spdy/spdy_session.h"
18 NetLogSpdyStreamWindowUpdateParameter(spdy::SpdyStreamId stream_id,
30 const spdy::SpdyStreamId stream_id_;
39 spdy::SpdyStreamId stream_id,
46 send_window_size_(spdy::kSpdyStreamInitialWindowSize),
47 recv_window_size_(spdy::kSpdyStreamInitialWindowSize),
53 response_(new spdy::SpdyHeaderBlock),
122 const linked_ptr<spdy::SpdyHeaderBlock>& SpdyStream::spdy_headers() const {
127 const linked_ptr<spdy::SpdyHeaderBlock>& headers)
    [all...]
spdy_session_unittest.cc 5 #include "net/spdy/spdy_session.h"
7 #include "net/spdy/spdy_io_buffer.h"
8 #include "net/spdy/spdy_session_pool.h"
9 #include "net/spdy/spdy_stream.h"
10 #include "net/spdy/spdy_test_util.h"
20 spdy::SpdyFramer::set_enable_compression_default(false);
45 virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response,
112 scoped_ptr<spdy::SpdyFrame> goaway(ConstructSpdyGoAway());
173 scoped_ptr<spdy::SpdyFrame> read_ping(ConstructSpdyPing());
179 scoped_ptr<spdy::SpdyFrame> write_ping(ConstructSpdyPing())
    [all...]
spdy_http_stream_unittest.cc 5 #include "net/spdy/spdy_http_stream.h"
6 #include "net/spdy/spdy_session.h"
7 #include "net/spdy/spdy_test_util.h"
19 spdy::SpdyFramer::set_enable_compression_default(enabled);
58 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST));
62 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
108 scoped_ptr<spdy::SpdyFrame> req(ConstructChunkedSpdyPost(NULL, 0));
109 scoped_ptr<spdy::SpdyFrame> chunk1(ConstructSpdyBodyFrame(1, false));
110 scoped_ptr<spdy::SpdyFrame> chunk2(ConstructSpdyBodyFrame(1, true));
116 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyPostSynReply(NULL, 0))
    [all...]
  /external/chromium/net/tools/spdyshark/
moduleinfo.nmake 6 PACKAGE=spdy
  /external/chromium_org/net/tools/spdyshark/
moduleinfo.nmake 6 PACKAGE=spdy
  /external/chromium/net/tools/flip_server/
spdy_interface.h 12 #include "net/spdy/spdy_framer.h"
13 #include "net/spdy/spdy_protocol.h"
26 class SpdySM : public spdy::SpdyFramerVisitorInterface,
55 virtual void OnError(spdy::SpdyFramer* framer) {}
59 int SpdyHandleNewStream(const spdy::SpdyControlFrame* frame,
64 virtual void OnControl(const spdy::SpdyControlFrame* frame);
65 virtual bool OnControlFrameHeaderData(spdy::SpdyStreamId stream_id,
68 virtual void OnDataFrameHeader(const spdy::SpdyDataFrame* frame);
69 virtual void OnStreamFrameData(spdy::SpdyStreamId stream_id,
83 // protocol message as been fully read. Spdy's SMInterface does not nee
    [all...]
constants.h 8 #include "net/spdy/spdy_protocol.h"
12 const int kSpdyOverhead = spdy::SpdyFrame::size();
spdy_interface.cc 9 #include "net/spdy/spdy_framer.h"
10 #include "net/spdy/spdy_protocol.h"
16 using spdy::kSpdyStreamMaximumWindowSize;
17 using spdy::CONTROL_FLAG_NONE;
18 using spdy::DATA_FLAG_COMPRESSED;
19 using spdy::DATA_FLAG_FIN;
20 using spdy::RST_STREAM;
21 using spdy::SETTINGS_MAX_CONCURRENT_STREAMS;
22 using spdy::SYN_REPLY;
23 using spdy::SYN_STREAM
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
IncomingStreamHandler.java 17 package com.squareup.okhttp.internal.spdy;
  /external/chromium/net/websockets/
websocket_handshake_handler.h 23 #include "net/spdy/spdy_framer.h"
53 spdy::SpdyHeaderBlock* headers,
90 bool ParseResponseHeaderBlock(const spdy::SpdyHeaderBlock& headers,
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
SettingsTest.java 16 package com.squareup.okhttp.internal.spdy;
20 import static com.squareup.okhttp.internal.spdy.Settings.DOWNLOAD_BANDWIDTH;
21 import static com.squareup.okhttp.internal.spdy.Settings.DOWNLOAD_RETRANS_RATE;
22 import static com.squareup.okhttp.internal.spdy.Settings.MAX_CONCURRENT_STREAMS;
23 import static com.squareup.okhttp.internal.spdy.Settings.PERSISTED;
24 import static com.squareup.okhttp.internal.spdy.Settings.PERSIST_VALUE;
25 import static com.squareup.okhttp.internal.spdy.Settings.UPLOAD_BANDWIDTH;
  /external/chromium/net/http/
http_proxy_client_socket_pool_unittest.cc 22 #include "net/spdy/spdy_protocol.h"
23 #include "net/spdy/spdy_test_util.h"
40 SPDY
151 if (GetParam() == SPDY)
165 if (GetParam() == SPDY) {
173 spdy::SpdyFramer::set_enable_compression_default(false);
175 ssl_data_->next_proto = "spdy/2";
218 // All tests are run with three different proxy types: HTTP, HTTPS (non-SPDY)
219 // and SPDY.
222 ::testing::Values(HTTP, HTTPS, SPDY));
    [all...]

Completed in 1131 milliseconds

1 2 3