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

Side by Side Diff: net/http/http_response_info.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/http/http_response_info.h ('k') | net/http/http_stream_factory_impl_job.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/http/http_response_info.h" 5 #include "net/http/http_response_info.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/pickle.h" 8 #include "base/pickle.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "net/base/auth.h" 10 #include "net/base/auth.h"
11 #include "net/base/io_buffer.h" 11 #include "net/base/io_buffer.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "net/base/ssl_cert_request_info.h"
14 #include "net/base/x509_certificate.h" 13 #include "net/base/x509_certificate.h"
15 #include "net/http/http_response_headers.h" 14 #include "net/http/http_response_headers.h"
15 #include "net/ssl/ssl_cert_request_info.h"
16 16
17 using base::Time; 17 using base::Time;
18 18
19 namespace net { 19 namespace net {
20 20
21 namespace { 21 namespace {
22 22
23 X509Certificate::PickleType GetPickleTypeForVersion(int version) { 23 X509Certificate::PickleType GetPickleTypeForVersion(int version) {
24 switch (version) { 24 switch (version) {
25 case 1: 25 case 1:
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 pickle->WriteUInt16(socket_address.port()); 305 pickle->WriteUInt16(socket_address.port());
306 306
307 if (was_npn_negotiated) 307 if (was_npn_negotiated)
308 pickle->WriteString(npn_negotiated_protocol); 308 pickle->WriteString(npn_negotiated_protocol);
309 309
310 if (connection_info != CONNECTION_INFO_UNKNOWN) 310 if (connection_info != CONNECTION_INFO_UNKNOWN)
311 pickle->WriteInt(static_cast<int>(connection_info)); 311 pickle->WriteInt(static_cast<int>(connection_info));
312 } 312 }
313 313
314 } // namespace net 314 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_response_info.h ('k') | net/http/http_stream_factory_impl_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698