| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index c576b602ef80c4dff2cc3efd4b5f60c7f155f730..ded1f7d708861a283791f6025aad4a1ced1aedbc 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -491,6 +491,10 @@ void URLRequest::set_delegate(Delegate* delegate) {
|
| delegate_ = delegate;
|
| }
|
|
|
| +void URLRequest::set_lofi_state(LoFiState lofi_state) {
|
| + lofi_state_ = lofi_state;
|
| +}
|
| +
|
| void URLRequest::Start() {
|
| // TODO(pkasting): Remove ScopedTracker below once crbug.com/456327 is fixed.
|
| tracked_objects::ScopedTracker tracking_profile(
|
| @@ -564,7 +568,8 @@ URLRequest::URLRequest(const GURL& url,
|
| has_notified_completion_(false),
|
| received_response_content_length_(0),
|
| creation_time_(base::TimeTicks::Now()),
|
| - notified_before_network_start_(false) {
|
| + notified_before_network_start_(false),
|
| + lofi_state_(LOFI_DEFAULT) {
|
| // Sanity check out environment.
|
| DCHECK(base::MessageLoop::current())
|
| << "The current base::MessageLoop must exist";
|
|
|