| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/url_request/url_request.h" | 5 #include "net/url_request/url_request.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1223 else | 1223 else |
| 1224 out->clear(); | 1224 out->clear(); |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 void URLRequest::set_status(URLRequestStatus status) { | 1227 void URLRequest::set_status(URLRequestStatus status) { |
| 1228 DCHECK(status_.is_io_pending() || status_.is_success() || | 1228 DCHECK(status_.is_io_pending() || status_.is_success() || |
| 1229 (!status.is_success() && !status.is_io_pending())); | 1229 (!status.is_success() && !status.is_io_pending())); |
| 1230 status_ = status; | 1230 status_ = status; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 void URLRequest::PopulateAllocatorDump(base::trace_event::MemoryAllocatorDump* d
ump) const { |
| 1234 |
| 1235 } |
| 1233 } // namespace net | 1236 } // namespace net |
| OLD | NEW |