Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: webrtc/base/autodetectproxy.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/asynctcpsocket.cc ('k') | webrtc/base/autodetectproxy_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/base/asynctcpsocket.cc ('k') | webrtc/base/autodetectproxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698