| 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 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "platform/loader/fetch/ResourceResponse.h" | 27 #include "platform/loader/fetch/ResourceResponse.h" |
| 28 | 28 |
| 29 #include "platform/HTTPNames.h" | 29 #include "platform/HTTPNames.h" |
| 30 #include "platform/network/HTTPParsers.h" | 30 #include "platform/network/HTTPParsers.h" |
| 31 #include "wtf/CurrentTime.h" | 31 #include "platform/wtf/CurrentTime.h" |
| 32 #include "wtf/PtrUtil.h" | 32 #include "platform/wtf/PtrUtil.h" |
| 33 #include "wtf/StdLibExtras.h" | 33 #include "platform/wtf/StdLibExtras.h" |
| 34 | 34 |
| 35 #include <memory> | 35 #include <memory> |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 namespace { | 39 namespace { |
| 40 | 40 |
| 41 template <typename Interface> | 41 template <typename Interface> |
| 42 Vector<Interface> isolatedCopy(const Vector<Interface>& src) { | 42 Vector<Interface> isolatedCopy(const Vector<Interface>& src) { |
| 43 Vector<Interface> result; | 43 Vector<Interface> result; |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 if (a.resourceLoadTiming() != b.resourceLoadTiming()) | 625 if (a.resourceLoadTiming() != b.resourceLoadTiming()) |
| 626 return false; | 626 return false; |
| 627 if (a.encodedBodyLength() != b.encodedBodyLength()) | 627 if (a.encodedBodyLength() != b.encodedBodyLength()) |
| 628 return false; | 628 return false; |
| 629 if (a.decodedBodyLength() != b.decodedBodyLength()) | 629 if (a.decodedBodyLength() != b.decodedBodyLength()) |
| 630 return false; | 630 return false; |
| 631 return true; | 631 return true; |
| 632 } | 632 } |
| 633 | 633 |
| 634 } // namespace blink | 634 } // namespace blink |
| OLD | NEW |