OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HttpAlternateProtocols
(Results
1 - 12
of
12
) sorted by null
/external/chromium/net/http/
http_alternate_protocols_unittest.cc
5
//
HttpAlternateProtocols
is an in-memory data structure used for keeping track
15
TEST(
HttpAlternateProtocols
, Basic) {
16
HttpAlternateProtocols
alternate_protocols;
21
test_host_port_pair, 443,
HttpAlternateProtocols
::NPN_SPDY_1);
23
const
HttpAlternateProtocols
::PortProtocolPair alternate =
26
EXPECT_EQ(
HttpAlternateProtocols
::NPN_SPDY_1, alternate.protocol);
29
TEST(
HttpAlternateProtocols
, SetBroken) {
30
HttpAlternateProtocols
alternate_protocols;
34
HttpAlternateProtocols
::PortProtocolPair alternate =
36
EXPECT_EQ(
HttpAlternateProtocols
::BROKEN, alternate.protocol)
[
all
...]
http_alternate_protocols.cc
13
const char
HttpAlternateProtocols
::kHeader[] = "Alternate-Protocol";
14
const char* const
HttpAlternateProtocols
::kProtocolStrings[] = {
19
const char*
HttpAlternateProtocols
::ProtocolToString(
20
HttpAlternateProtocols
::Protocol protocol) {
22
case
HttpAlternateProtocols
::NPN_SPDY_1:
23
case
HttpAlternateProtocols
::NPN_SPDY_2:
24
return
HttpAlternateProtocols
::kProtocolStrings[protocol];
25
case
HttpAlternateProtocols
::BROKEN:
27
case
HttpAlternateProtocols
::UNINITIALIZED:
36
std::string
HttpAlternateProtocols
::PortProtocolPair::ToString() const
[
all
...]
http_stream_factory.cc
37
HttpAlternateProtocols
* alternate_protocols,
43
DLOG(WARNING) <<
HttpAlternateProtocols
::kHeader
52
DLOG(WARNING) <<
HttpAlternateProtocols
::kHeader
58
HttpAlternateProtocols
::Protocol protocol =
HttpAlternateProtocols
::BROKEN;
60
for (int i =
HttpAlternateProtocols
::NPN_SPDY_2;
61
i <
HttpAlternateProtocols
::NUM_ALTERNATE_PROTOCOLS; ++i) {
62
if (port_protocol_vector[1] ==
HttpAlternateProtocols
::kProtocolStrings[i])
63
protocol = static_cast<
HttpAlternateProtocols
::Protocol>(i);
66
if (protocol ==
HttpAlternateProtocols
::BROKEN)
[
all
...]
http_alternate_protocols.h
5
//
HttpAlternateProtocols
is an in-memory data structure used for keeping track
22
class
HttpAlternateProtocols
{
48
HttpAlternateProtocols
();
49
~
HttpAlternateProtocols
();
88
DISALLOW_COPY_AND_ASSIGN(
HttpAlternateProtocols
);
http_network_layer.cc
125
HttpAlternateProtocols
::PortProtocolPair pair;
127
pair.protocol =
HttpAlternateProtocols
::NPN_SPDY_2;
128
HttpAlternateProtocols
::ForceAlternateProtocol(pair);
http_network_session.h
83
const
HttpAlternateProtocols
& alternate_protocols() const {
86
HttpAlternateProtocols
* mutable_alternate_protocols() {
170
HttpAlternateProtocols
alternate_protocols_;
http_stream_factory_impl.cc
130
const
HttpAlternateProtocols
& alternate_protocols =
135
HttpAlternateProtocols
::PortProtocolPair alternate =
137
if (alternate.protocol ==
HttpAlternateProtocols
::BROKEN)
140
DCHECK_LE(
HttpAlternateProtocols
::NPN_SPDY_1, alternate.protocol);
141
DCHECK_GT(
HttpAlternateProtocols
::NUM_ALTERNATE_PROTOCOLS,
144
if (alternate.protocol !=
HttpAlternateProtocols
::NPN_SPDY_2)
http_stream_factory.h
23
class
HttpAlternateProtocols
;
151
HttpAlternateProtocols
* alternate_protocols,
http_network_transaction.cc
65
HttpAlternateProtocols
* alternate_protocols,
70
if (!headers.EnumerateHeader(NULL,
HttpAlternateProtocols
::kHeader,
[
all
...]
http_network_transaction_unittest.cc
[
all
...]
/external/chromium/chrome/browser/ui/webui/
net_internals_ui.cc
[
all
...]
/external/chromium/net/spdy/
spdy_network_transaction_unittest.cc
129
HttpAlternateProtocols
::NPN_SPDY_2);
[
all
...]
Completed in 176 milliseconds