| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/spdy/spdy_session.h" | 5 #include "net/spdy/spdy_session.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/linked_ptr.h" | 8 #include "base/linked_ptr.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySettingsParameter); | 128 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySettingsParameter); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace | 131 } // namespace |
| 132 | 132 |
| 133 // static | 133 // static |
| 134 bool SpdySession::use_ssl_ = true; | 134 bool SpdySession::use_ssl_ = true; |
| 135 | 135 |
| 136 // static | 136 // static |
| 137 bool SpdySession::use_flow_control_ = true; | 137 bool SpdySession::use_flow_control_ = false; |
| 138 | 138 |
| 139 SpdySession::SpdySession(const HostPortPair& host_port_pair, | 139 SpdySession::SpdySession(const HostPortPair& host_port_pair, |
| 140 HttpNetworkSession* session, | 140 HttpNetworkSession* session, |
| 141 NetLog* net_log) | 141 NetLog* net_log) |
| 142 : ALLOW_THIS_IN_INITIALIZER_LIST( | 142 : ALLOW_THIS_IN_INITIALIZER_LIST( |
| 143 connect_callback_(this, &SpdySession::OnTCPConnect)), | 143 connect_callback_(this, &SpdySession::OnTCPConnect)), |
| 144 ALLOW_THIS_IN_INITIALIZER_LIST( | 144 ALLOW_THIS_IN_INITIALIZER_LIST( |
| 145 ssl_connect_callback_(this, &SpdySession::OnSSLConnect)), | 145 ssl_connect_callback_(this, &SpdySession::OnSSLConnect)), |
| 146 ALLOW_THIS_IN_INITIALIZER_LIST( | 146 ALLOW_THIS_IN_INITIALIZER_LIST( |
| 147 read_callback_(this, &SpdySession::OnReadComplete)), | 147 read_callback_(this, &SpdySession::OnReadComplete)), |
| (...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 UMA_HISTOGRAM_CUSTOM_COUNTS("Net.SpdySettingsRetransRate", | 1320 UMA_HISTOGRAM_CUSTOM_COUNTS("Net.SpdySettingsRetransRate", |
| 1321 setting.second, | 1321 setting.second, |
| 1322 1, 100, 50); | 1322 1, 100, 50); |
| 1323 break; | 1323 break; |
| 1324 } | 1324 } |
| 1325 } | 1325 } |
| 1326 } | 1326 } |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 } // namespace net | 1329 } // namespace net |
| OLD | NEW |