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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1179 base::debug::StackTrace* stack_trace_copy = | 1179 base::debug::StackTrace* stack_trace_copy = |
1180 new base::debug::StackTrace(NULL, 0); | 1180 new base::debug::StackTrace(NULL, 0); |
1181 *stack_trace_copy = stack_trace; | 1181 *stack_trace_copy = stack_trace; |
1182 stack_trace_.reset(stack_trace_copy); | 1182 stack_trace_.reset(stack_trace_copy); |
1183 } | 1183 } |
1184 | 1184 |
1185 const base::debug::StackTrace* URLRequest::stack_trace() const { | 1185 const base::debug::StackTrace* URLRequest::stack_trace() const { |
1186 return stack_trace_.get(); | 1186 return stack_trace_.get(); |
1187 } | 1187 } |
1188 | 1188 |
1189 void URLRequest::GetConnectionAttempts(ConnectionAttempts* out) const { | |
Randy Smith (Not in Mondays)
2015/05/01 17:03:43
Actually, you might be able to get away without ha
Randy Smith (Not in Mondays)
2015/05/01 17:08:20
Actually (:-}), please ignore this comment; out->c
Deprecated (see juliatuttle)
2015/05/04 19:53:37
Acknowledged.
Deprecated (see juliatuttle)
2015/05/04 19:53:37
Acknowledged.
| |
1190 if (job_) | |
1191 job_->GetConnectionAttempts(out); | |
1192 else | |
1193 out->clear(); | |
1194 } | |
1195 | |
1189 } // namespace net | 1196 } // namespace net |
OLD | NEW |