Chromium Code Reviews| Index: net/base/load_flags_list.h |
| diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h |
| index 635ce7999f924666b1724b1027924b2229cc5d89..49c1077c1c9d28cacd96d18ca645450df8c55f72 100644 |
| --- a/net/base/load_flags_list.h |
| +++ b/net/base/load_flags_list.h |
| @@ -114,3 +114,8 @@ LOAD_FLAG(DO_NOT_PROMPT_FOR_LOGIN, 1 << 25) |
| // explicit user action. This can be used as a hint to treat the |
| // request with higher priority. |
| LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 26) |
| + |
| +// Indicate that if the request fails at the network level in a way that |
| +// indicates the source is unreachable, the request should fail over |
| +// to as if LOAD_PREFERRING_CACHE had been set. |
| +LOAD_FLAG(CACHE_RETURN_IF_OFFLINE, 1 << 27) |
|
rvargas (doing something else)
2013/03/05 02:58:19
It would be nice if this were beside the other cac
rvargas (doing something else)
2013/03/05 02:58:19
FROM_CACHE_IF_OFFLINE?
Randy Smith (Not in Mondays)
2013/03/05 23:16:14
Agreed. I don't see a way around the problem, tho
Randy Smith (Not in Mondays)
2013/03/05 23:16:14
Done.
|