| Index: third_party/WebKit/Source/platform/network/NetworkUtils.h
|
| diff --git a/third_party/WebKit/Source/platform/network/NetworkUtils.h b/third_party/WebKit/Source/platform/network/NetworkUtils.h
|
| index a6b2778010a4b86a5dc178bb2deb1bb235c4ebca..5050582e4a7f28bac519b4d1047fb5e5513768f6 100644
|
| --- a/third_party/WebKit/Source/platform/network/NetworkUtils.h
|
| +++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h
|
| @@ -12,6 +12,7 @@ namespace blink {
|
|
|
| class KURL;
|
| class SharedBuffer;
|
| +class ResourceResponse;
|
|
|
| namespace NetworkUtils {
|
|
|
| @@ -27,11 +28,10 @@ PLATFORM_EXPORT bool isLocalHostname(const String& host, bool* isLocal6);
|
| PLATFORM_EXPORT String getDomainAndRegistry(const String& host,
|
| PrivateRegistryFilter);
|
|
|
| -// Returns the decoded data url if url had a supported mimetype and parsing was
|
| -// successful.
|
| +// Returns the decoded data url as ResourceResponse and SharedBuffer
|
| +// if url had a supported mimetype and parsing was successful.
|
| PLATFORM_EXPORT PassRefPtr<SharedBuffer> parseDataURL(const KURL&,
|
| - AtomicString& mimetype,
|
| - AtomicString& charset);
|
| + ResourceResponse&);
|
|
|
| PLATFORM_EXPORT bool isRedirectResponseCode(int);
|
|
|
|
|