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

Unified Diff: net/proxy/proxy_resolver_winhttp.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/proxy_resolver_v8_unittest.cc ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_winhttp.h
diff --git a/net/proxy/proxy_resolver_winhttp.h b/net/proxy/proxy_resolver_winhttp.h
deleted file mode 100644
index caa7a9f95a579be217e82bd92d53e420f1bd0839..0000000000000000000000000000000000000000
--- a/net/proxy/proxy_resolver_winhttp.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
-#define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
-
-#include "base/compiler_specific.h"
-#include "net/proxy/proxy_resolver.h"
-#include "url/gurl.h"
-
-typedef void* HINTERNET; // From winhttp.h
-
-namespace net {
-
-// An implementation of ProxyResolver that uses WinHTTP and the system
-// proxy settings.
-class NET_EXPORT_PRIVATE ProxyResolverWinHttp : public ProxyResolver {
- public:
- ProxyResolverWinHttp();
- virtual ~ProxyResolverWinHttp();
-
- // ProxyResolver implementation:
- virtual int GetProxyForURL(const GURL& url,
- ProxyInfo* results,
- const net::CompletionCallback& /*callback*/,
- RequestHandle* /*request*/,
- const BoundNetLog& /*net_log*/) override;
- virtual void CancelRequest(RequestHandle request) override;
-
- virtual LoadState GetLoadState(RequestHandle request) const override;
-
- virtual void CancelSetPacScript() override;
-
- virtual int SetPacScript(
- const scoped_refptr<ProxyResolverScriptData>& script_data,
- const net::CompletionCallback& /*callback*/) override;
-
- private:
- bool OpenWinHttpSession();
- void CloseWinHttpSession();
-
- // Proxy configuration is cached on the session handle.
- HINTERNET session_handle_;
-
- GURL pac_url_;
-
- DISALLOW_COPY_AND_ASSIGN(ProxyResolverWinHttp);
-};
-
-} // namespace net
-
-#endif // NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
« no previous file with comments | « net/proxy/proxy_resolver_v8_unittest.cc ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698