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

Side by Side Diff: net/spdy/spdy_session.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_session.h ('k') | net/spdy/spdy_session_pool.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 #include "base/stringprintf.h" 21 #include "base/stringprintf.h"
22 #include "base/time.h" 22 #include "base/time.h"
23 #include "base/utf_string_conversions.h" 23 #include "base/utf_string_conversions.h"
24 #include "base/values.h" 24 #include "base/values.h"
25 #include "crypto/ec_private_key.h" 25 #include "crypto/ec_private_key.h"
26 #include "crypto/ec_signature_creator.h" 26 #include "crypto/ec_signature_creator.h"
27 #include "net/base/asn1_util.h" 27 #include "net/base/asn1_util.h"
28 #include "net/base/connection_type_histograms.h" 28 #include "net/base/connection_type_histograms.h"
29 #include "net/base/net_log.h" 29 #include "net/base/net_log.h"
30 #include "net/base/net_util.h" 30 #include "net/base/net_util.h"
31 #include "net/base/server_bound_cert_service.h"
32 #include "net/http/http_network_session.h" 31 #include "net/http/http_network_session.h"
33 #include "net/http/http_server_properties.h" 32 #include "net/http/http_server_properties.h"
34 #include "net/spdy/spdy_credential_builder.h" 33 #include "net/spdy/spdy_credential_builder.h"
35 #include "net/spdy/spdy_frame_builder.h" 34 #include "net/spdy/spdy_frame_builder.h"
36 #include "net/spdy/spdy_http_utils.h" 35 #include "net/spdy/spdy_http_utils.h"
37 #include "net/spdy/spdy_protocol.h" 36 #include "net/spdy/spdy_protocol.h"
38 #include "net/spdy/spdy_session_pool.h" 37 #include "net/spdy/spdy_session_pool.h"
39 #include "net/spdy/spdy_stream.h" 38 #include "net/spdy/spdy_stream.h"
39 #include "net/ssl/server_bound_cert_service.h"
40 40
41 namespace net { 41 namespace net {
42 42
43 namespace { 43 namespace {
44 44
45 const int kReadBufferSize = 8 * 1024; 45 const int kReadBufferSize = 8 * 1024;
46 const int kDefaultConnectionAtRiskOfLossSeconds = 10; 46 const int kDefaultConnectionAtRiskOfLossSeconds = 10;
47 const int kHungIntervalSeconds = 10; 47 const int kHungIntervalSeconds = 10;
48 48
49 // Always start at 1 for the first stream id. 49 // Always start at 1 for the first stream id.
(...skipping 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 } 2225 }
2226 2226
2227 session_recv_window_size_ -= delta_window_size; 2227 session_recv_window_size_ -= delta_window_size;
2228 net_log_.AddEvent( 2228 net_log_.AddEvent(
2229 NetLog::TYPE_SPDY_SESSION_UPDATE_RECV_WINDOW, 2229 NetLog::TYPE_SPDY_SESSION_UPDATE_RECV_WINDOW,
2230 base::Bind(&NetLogSpdySessionWindowUpdateCallback, 2230 base::Bind(&NetLogSpdySessionWindowUpdateCallback,
2231 -delta_window_size, session_recv_window_size_)); 2231 -delta_window_size, session_recv_window_size_));
2232 } 2232 }
2233 2233
2234 } // namespace net 2234 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.h ('k') | net/spdy/spdy_session_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698