OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // sensitive). | 95 // sensitive). |
96 ProxyType type = proxy().type; | 96 ProxyType type = proxy().type; |
97 | 97 |
98 char address_hostname[kSavedStringLimit]; | 98 char address_hostname[kSavedStringLimit]; |
99 SaveStringToStack(address_hostname, | 99 SaveStringToStack(address_hostname, |
100 proxy().address.hostname(), | 100 proxy().address.hostname(), |
101 sizeof address_hostname); | 101 sizeof address_hostname); |
102 | 102 |
103 IPAddress address_ip = proxy().address.ipaddr(); | 103 IPAddress address_ip = proxy().address.ipaddr(); |
104 | 104 |
105 uint16 address_port = proxy().address.port(); | 105 uint16_t address_port = proxy().address.port(); |
106 | 106 |
107 char autoconfig_url[kSavedStringLimit]; | 107 char autoconfig_url[kSavedStringLimit]; |
108 SaveStringToStack(autoconfig_url, | 108 SaveStringToStack(autoconfig_url, |
109 proxy().autoconfig_url, | 109 proxy().autoconfig_url, |
110 sizeof autoconfig_url); | 110 sizeof autoconfig_url); |
111 | 111 |
112 bool autodetect = proxy().autodetect; | 112 bool autodetect = proxy().autodetect; |
113 | 113 |
114 char bypass_list[kSavedStringLimit]; | 114 char bypass_list[kSavedStringLimit]; |
115 SaveStringToStack(bypass_list, proxy().bypass_list, sizeof bypass_list); | 115 SaveStringToStack(bypass_list, proxy().bypass_list, sizeof bypass_list); |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 Next(); | 279 Next(); |
280 } | 280 } |
281 | 281 |
282 void AutoDetectProxy::OnCloseEvent(AsyncSocket * socket, int error) { | 282 void AutoDetectProxy::OnCloseEvent(AsyncSocket * socket, int error) { |
283 LOG(LS_VERBOSE) << "AutoDetectProxy closed with error: " << error; | 283 LOG(LS_VERBOSE) << "AutoDetectProxy closed with error: " << error; |
284 ++next_; | 284 ++next_; |
285 Next(); | 285 Next(); |
286 } | 286 } |
287 | 287 |
288 } // namespace rtc | 288 } // namespace rtc |
OLD | NEW |