| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) |
| 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) |
| 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
| 9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
| 10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "platform/TraceEvent.h" | 38 #include "platform/TraceEvent.h" |
| 39 #include "platform/network/HTTPParsers.h" | 39 #include "platform/network/HTTPParsers.h" |
| 40 #include "platform/weborigin/KURL.h" | 40 #include "platform/weborigin/KURL.h" |
| 41 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
| 42 #include "public/platform/WebProcessMemoryDump.h" | 42 #include "public/platform/WebProcessMemoryDump.h" |
| 43 #include "public/platform/WebScheduler.h" | 43 #include "public/platform/WebScheduler.h" |
| 44 #include "wtf/CurrentTime.h" | 44 #include "wtf/CurrentTime.h" |
| 45 #include "wtf/MathExtras.h" | 45 #include "wtf/MathExtras.h" |
| 46 #include "wtf/StdLibExtras.h" | 46 #include "wtf/StdLibExtras.h" |
| 47 #include "wtf/Vector.h" | 47 #include "wtf/Vector.h" |
| 48 #include "wtf/WeakPtr.h" | |
| 49 #include "wtf/text/CString.h" | 48 #include "wtf/text/CString.h" |
| 50 #include <algorithm> | 49 #include <algorithm> |
| 51 | 50 |
| 52 namespace blink { | 51 namespace blink { |
| 53 | 52 |
| 54 // These response headers are not copied from a revalidated response to the | 53 // These response headers are not copied from a revalidated response to the |
| 55 // cached response headers. For compatibility, this list is based on Chromium's | 54 // cached response headers. For compatibility, this list is based on Chromium's |
| 56 // net/http/http_response_headers.cc. | 55 // net/http/http_response_headers.cc. |
| 57 const char* const headersToIgnoreAfterRevalidation[] = { | 56 const char* const headersToIgnoreAfterRevalidation[] = { |
| 58 "allow", | 57 "allow", |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 case Resource::Media: | 1074 case Resource::Media: |
| 1076 return "Media"; | 1075 return "Media"; |
| 1077 case Resource::Manifest: | 1076 case Resource::Manifest: |
| 1078 return "Manifest"; | 1077 return "Manifest"; |
| 1079 } | 1078 } |
| 1080 ASSERT_NOT_REACHED(); | 1079 ASSERT_NOT_REACHED(); |
| 1081 return "Unknown"; | 1080 return "Unknown"; |
| 1082 } | 1081 } |
| 1083 | 1082 |
| 1084 } // namespace blink | 1083 } // namespace blink |
| OLD | NEW |