| Index: third_party/WebKit/Source/core/fetch/Resource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| index fb32fc9cb99bbfe20480f148aad71201944379dc..29b0e845784c0342abcc709e6d79c398be61d7f7 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
|
| @@ -35,6 +35,7 @@
|
| #include "platform/Logging.h"
|
| #include "platform/SharedBuffer.h"
|
| #include "platform/TraceEvent.h"
|
| +#include "platform/network/HTTPParsers.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebProcessMemoryDump.h"
|
| @@ -318,6 +319,11 @@ void Resource::finish()
|
| m_status = Cached;
|
| }
|
|
|
| +AtomicString Resource::httpContentType() const
|
| +{
|
| + return extractMIMETypeFromMediaType(m_response.httpHeaderField(HTTPNames::Content_Type).lower());
|
| +}
|
| +
|
| bool Resource::passesAccessControlCheck(SecurityOrigin* securityOrigin) const
|
| {
|
| String ignoredErrorDescription;
|
|
|