| Index: third_party/WebKit/Source/platform/network/NetworkUtils.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/NetworkUtils.cpp b/third_party/WebKit/Source/platform/network/NetworkUtils.cpp
|
| index 2305b6a16800974cc35ded9000ef2ce01e482506..310be225ad979819a3e79b61337de47575d8950a 100644
|
| --- a/third_party/WebKit/Source/platform/network/NetworkUtils.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/NetworkUtils.cpp
|
| @@ -77,6 +77,14 @@ PassRefPtr<SharedBuffer> parseDataURL(const KURL& url,
|
| return nullptr;
|
| }
|
|
|
| +int cacheMissErrorCode() {
|
| + return net::ERR_CACHE_MISS;
|
| +}
|
| +
|
| +bool isCacheMissErrorCode(int code) {
|
| + return code == net::ERR_CACHE_MISS;
|
| +}
|
| +
|
| } // NetworkUtils
|
|
|
| } // namespace blink
|
|
|