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

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: 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
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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 vary_data.Persist(pickle); 283 vary_data.Persist(pickle);
284 284
285 pickle->WriteString(socket_address.host()); 285 pickle->WriteString(socket_address.host());
286 pickle->WriteUInt16(socket_address.port()); 286 pickle->WriteUInt16(socket_address.port());
287 287
288 if (was_npn_negotiated) 288 if (was_npn_negotiated)
289 pickle->WriteString(npn_negotiated_protocol); 289 pickle->WriteString(npn_negotiated_protocol);
290 } 290 }
291 291
292 } // namespace net 292 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698