| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_service.h" | 5 #include "net/proxy/proxy_service.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/histogram.h" |
| 11 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 13 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 14 #include "net/base/forwarding_net_log.h" | 15 #include "net/base/forwarding_net_log.h" |
| 15 #include "net/base/net_log.h" | 16 #include "net/base/net_log.h" |
| 16 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 17 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
| 18 #include "net/proxy/init_proxy_resolver.h" | 19 #include "net/proxy/init_proxy_resolver.h" |
| 19 #include "net/proxy/multi_threaded_proxy_resolver.h" | 20 #include "net/proxy/multi_threaded_proxy_resolver.h" |
| 20 #include "net/proxy/proxy_config_service_fixed.h" | 21 #include "net/proxy/proxy_config_service_fixed.h" |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 OnCompletion(result_); | 773 OnCompletion(result_); |
| 773 } | 774 } |
| 774 } | 775 } |
| 775 | 776 |
| 776 void SyncProxyServiceHelper::OnCompletion(int rv) { | 777 void SyncProxyServiceHelper::OnCompletion(int rv) { |
| 777 result_ = rv; | 778 result_ = rv; |
| 778 event_.Signal(); | 779 event_.Signal(); |
| 779 } | 780 } |
| 780 | 781 |
| 781 } // namespace net | 782 } // namespace net |
| OLD | NEW |