| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index 36fee38a162d26c4541a524014af9b185faba471..73fca9e188e09c3d41fcf1774baa2e361ab409af 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -311,6 +311,11 @@ int BuildLoadFlagsForRequest(const ResourceHostMsg_Request& request_data,
|
| net::LOAD_DO_NOT_SAVE_COOKIES);
|
| }
|
|
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableOfflineCacheAccess)) {
|
| + load_flags |= net::LOAD_CACHE_RETURN_IF_OFFLINE;
|
| + }
|
| +
|
| // Raw headers are sensitive, as they include Cookie/Set-Cookie, so only
|
| // allow requesting them if requester has ReadRawCookies permission.
|
| if ((load_flags & net::LOAD_REPORT_RAW_HEADERS)
|
|
|