diff options
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index 4fc5c89..6a97b46 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -63,6 +63,9 @@ class HostResolver { bool allow_cached_response() const { return allow_cached_response_; } void set_allow_cached_response(bool b) { allow_cached_response_ = b; } + bool only_use_cached_response() const { return only_use_cached_response_; } + void set_only_use_cached_response(bool b) { only_use_cached_response_ = b; } + bool is_speculative() const { return is_speculative_; } void set_is_speculative(bool b) { is_speculative_ = b; } @@ -85,6 +88,9 @@ class HostResolver { // Whether it is ok to return a result from the host cache. bool allow_cached_response_; + // Whether the response will only use the cache. + bool only_use_cached_response_; + // Whether this request was started by the DNS prefetcher. bool is_speculative_; |