| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/proxy/proxy_resolver_v8_tracing.h" | 5 #include "net/proxy/proxy_resolver_v8_tracing.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "base/synchronization/cancellation_flag.h" | 11 #include "base/synchronization/cancellation_flag.h" |
| 12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "base/threading/thread_restrictions.h" | 14 #include "base/threading/thread_restrictions.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "net/base/address_list.h" | 16 #include "net/base/address_list.h" |
| 17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 18 #include "net/base/net_log.h" | 18 #include "net/base/net_log.h" |
| (...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1172 DCHECK(!set_pac_script_job_.get()); | 1172 DCHECK(!set_pac_script_job_.get()); |
| 1173 CHECK_EQ(0, num_outstanding_callbacks_); | 1173 CHECK_EQ(0, num_outstanding_callbacks_); |
| 1174 | 1174 |
| 1175 set_pac_script_job_ = new Job(this); | 1175 set_pac_script_job_ = new Job(this); |
| 1176 set_pac_script_job_->StartSetPacScript(script_data, callback); | 1176 set_pac_script_job_->StartSetPacScript(script_data, callback); |
| 1177 | 1177 |
| 1178 return ERR_IO_PENDING; | 1178 return ERR_IO_PENDING; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 } // namespace net | 1181 } // namespace net |
| OLD | NEW |