| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 : ResourceResponse() { | 147 : ResourceResponse() { |
| 148 SetURL(data->url_); | 148 SetURL(data->url_); |
| 149 SetMimeType(AtomicString(data->mime_type_)); | 149 SetMimeType(AtomicString(data->mime_type_)); |
| 150 SetExpectedContentLength(data->expected_content_length_); | 150 SetExpectedContentLength(data->expected_content_length_); |
| 151 SetTextEncodingName(AtomicString(data->text_encoding_name_)); | 151 SetTextEncodingName(AtomicString(data->text_encoding_name_)); |
| 152 | 152 |
| 153 SetHTTPStatusCode(data->http_status_code_); | 153 SetHTTPStatusCode(data->http_status_code_); |
| 154 SetHTTPStatusText(AtomicString(data->http_status_text_)); | 154 SetHTTPStatusText(AtomicString(data->http_status_text_)); |
| 155 | 155 |
| 156 http_header_fields_.Adopt(std::move(data->http_headers_)); | 156 http_header_fields_.Adopt(std::move(data->http_headers_)); |
| 157 SetResourceLoadTiming(data->resource_load_timing_.Release()); | 157 SetResourceLoadTiming(std::move(data->resource_load_timing_)); |
| 158 has_major_certificate_errors_ = data->has_major_certificate_errors_; | 158 has_major_certificate_errors_ = data->has_major_certificate_errors_; |
| 159 security_style_ = data->security_style_; | 159 security_style_ = data->security_style_; |
| 160 security_details_.protocol = data->security_details_.protocol; | 160 security_details_.protocol = data->security_details_.protocol; |
| 161 security_details_.cipher = data->security_details_.cipher; | 161 security_details_.cipher = data->security_details_.cipher; |
| 162 security_details_.key_exchange = data->security_details_.key_exchange; | 162 security_details_.key_exchange = data->security_details_.key_exchange; |
| 163 security_details_.key_exchange_group = | 163 security_details_.key_exchange_group = |
| 164 data->security_details_.key_exchange_group; | 164 data->security_details_.key_exchange_group; |
| 165 security_details_.mac = data->security_details_.mac; | 165 security_details_.mac = data->security_details_.mac; |
| 166 security_details_.subject_name = data->security_details_.subject_name; | 166 security_details_.subject_name = data->security_details_.subject_name; |
| 167 security_details_.san_list = data->security_details_.san_list; | 167 security_details_.san_list = data->security_details_.san_list; |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 if (a.GetResourceLoadTiming() != b.GetResourceLoadTiming()) | 628 if (a.GetResourceLoadTiming() != b.GetResourceLoadTiming()) |
| 629 return false; | 629 return false; |
| 630 if (a.EncodedBodyLength() != b.EncodedBodyLength()) | 630 if (a.EncodedBodyLength() != b.EncodedBodyLength()) |
| 631 return false; | 631 return false; |
| 632 if (a.DecodedBodyLength() != b.DecodedBodyLength()) | 632 if (a.DecodedBodyLength() != b.DecodedBodyLength()) |
| 633 return false; | 633 return false; |
| 634 return true; | 634 return true; |
| 635 } | 635 } |
| 636 | 636 |
| 637 } // namespace blink | 637 } // namespace blink |
| OLD | NEW |