| Index: net/http/http_response_info.cc
|
| diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc
|
| index fe6e57e56e1924a889d8e3c4e53b025f08e2f9e3..fb6b50947f02395f911efe65454b7b345a136595 100644
|
| --- a/net/http/http_response_info.cc
|
| +++ b/net/http/http_response_info.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "net/http/http_response_info.h"
|
|
|
| +#include "base/trace_event/trace_event.h"
|
| #include "base/logging.h"
|
| #include "base/pickle.h"
|
| #include "base/time/time.h"
|
| @@ -136,6 +137,7 @@ HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs)
|
| metadata(rhs.metadata) {}
|
|
|
| HttpResponseInfo::~HttpResponseInfo() {
|
| + TRACE_EVENT0("toplevel", "HttpResponseInfo::~HttpResponseInfo");
|
| }
|
|
|
| HttpResponseInfo& HttpResponseInfo::operator=(const HttpResponseInfo& rhs) {
|
| @@ -167,6 +169,8 @@ bool HttpResponseInfo::InitFromPickle(const base::Pickle& pickle,
|
| bool* response_truncated) {
|
| base::PickleIterator iter(pickle);
|
|
|
| + TRACE_EVENT0("toplevel", "HttpResponseInfo::InitFromPickle::A");
|
| +
|
| // Read flags and verify version
|
| int flags;
|
| if (!iter.ReadInt(&flags))
|
| @@ -202,12 +206,14 @@ bool HttpResponseInfo::InitFromPickle(const base::Pickle& pickle,
|
| if (!ssl_info.cert.get())
|
| return false;
|
| }
|
| +
|
| if (flags & RESPONSE_INFO_HAS_CERT_STATUS) {
|
| CertStatus cert_status;
|
| if (!iter.ReadUInt32(&cert_status))
|
| return false;
|
| ssl_info.cert_status = cert_status;
|
| }
|
| +
|
| if (flags & RESPONSE_INFO_HAS_SECURITY_BITS) {
|
| int security_bits;
|
| if (!iter.ReadInt(&security_bits))
|
|
|