| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index c12f9d1ea26d83a49569b8d8945c07efbbd585c2..aec76de744c98579588ca33ea760c9839f4cfa99 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -484,6 +484,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(
|
| @@ -557,7 +561,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";
|
|
|