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

Side by Side Diff: net/http/http_response_info.cc

Issue 115013004: Certificate Transparency: Cleanup: Correct the naming of the struct fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/time.h" 9 #include "base/time/time.h"
10 #include "net/base/auth.h" 10 #include "net/base/auth.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 pickle->WriteUInt32(ssl_info.cert_status); 333 pickle->WriteUInt32(ssl_info.cert_status);
334 if (ssl_info.security_bits != -1) 334 if (ssl_info.security_bits != -1)
335 pickle->WriteInt(ssl_info.security_bits); 335 pickle->WriteInt(ssl_info.security_bits);
336 if (ssl_info.connection_status != 0) 336 if (ssl_info.connection_status != 0)
337 pickle->WriteInt(ssl_info.connection_status); 337 pickle->WriteInt(ssl_info.connection_status);
338 if (!ssl_info.signed_certificate_timestamps.empty()) { 338 if (!ssl_info.signed_certificate_timestamps.empty()) {
339 pickle->WriteInt(ssl_info.signed_certificate_timestamps.size()); 339 pickle->WriteInt(ssl_info.signed_certificate_timestamps.size());
340 for (SignedCertificateTimestampAndStatusList::const_iterator it = 340 for (SignedCertificateTimestampAndStatusList::const_iterator it =
341 ssl_info.signed_certificate_timestamps.begin(); it != 341 ssl_info.signed_certificate_timestamps.begin(); it !=
342 ssl_info.signed_certificate_timestamps.end(); ++it) { 342 ssl_info.signed_certificate_timestamps.end(); ++it) {
343 it->sct_->Persist(pickle); 343 it->sct->Persist(pickle);
344 pickle->WriteUInt16(it->status_); 344 pickle->WriteUInt16(it->status);
345 } 345 }
346 } 346 }
347 } 347 }
348 348
349 if (vary_data.is_valid()) 349 if (vary_data.is_valid())
350 vary_data.Persist(pickle); 350 vary_data.Persist(pickle);
351 351
352 pickle->WriteString(socket_address.host()); 352 pickle->WriteString(socket_address.host());
353 pickle->WriteUInt16(socket_address.port()); 353 pickle->WriteUInt16(socket_address.port());
354 354
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 case CONNECTION_INFO_QUIC1_SPDY3: 402 case CONNECTION_INFO_QUIC1_SPDY3:
403 return "quic/1+spdy/3"; 403 return "quic/1+spdy/3";
404 case NUM_OF_CONNECTION_INFOS: 404 case NUM_OF_CONNECTION_INFOS:
405 break; 405 break;
406 } 406 }
407 NOTREACHED(); 407 NOTREACHED();
408 return ""; 408 return "";
409 } 409 }
410 410
411 } // namespace net 411 } // namespace net
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | net/ssl/signed_certificate_timestamp_and_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698