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

Side by Side Diff: net/proxy/proxy_resolver_winhttp.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 | « net/proxy/proxy_resolver_winhttp.h ('k') | net/proxy/proxy_script_decider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_winhttp.h" 5 #include "net/proxy/proxy_resolver_winhttp.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <winhttp.h> 8 #include <winhttp.h>
9 9
10 #include "base/macros.h"
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
13 #include "net/proxy/proxy_info.h" 14 #include "net/proxy/proxy_info.h"
14 #include "net/proxy/proxy_resolver.h" 15 #include "net/proxy/proxy_resolver.h"
15 #include "url/gurl.h" 16 #include "url/gurl.h"
16 17
17 #pragma comment(lib, "winhttp.lib") 18 #pragma comment(lib, "winhttp.lib")
18 19
19 using base::TimeDelta; 20 using base::TimeDelta;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 int ProxyResolverFactoryWinHttp::CreateProxyResolver( 221 int ProxyResolverFactoryWinHttp::CreateProxyResolver(
221 const scoped_refptr<ProxyResolverScriptData>& pac_script, 222 const scoped_refptr<ProxyResolverScriptData>& pac_script,
222 scoped_ptr<ProxyResolver>* resolver, 223 scoped_ptr<ProxyResolver>* resolver,
223 const CompletionCallback& callback, 224 const CompletionCallback& callback,
224 scoped_ptr<Request>* request) { 225 scoped_ptr<Request>* request) {
225 resolver->reset(new ProxyResolverWinHttp(pac_script)); 226 resolver->reset(new ProxyResolverWinHttp(pac_script));
226 return OK; 227 return OK;
227 } 228 }
228 229
229 } // namespace net 230 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_winhttp.h ('k') | net/proxy/proxy_script_decider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698