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

Unified Diff: net/proxy/sync_host_resolver_bridge.h

Issue 2822043: Add the capability to run multiple proxy PAC scripts in parallel.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Re-upload after revert Created 10 years, 5 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/single_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/sync_host_resolver_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/sync_host_resolver_bridge.h
===================================================================
--- net/proxy/sync_host_resolver_bridge.h (revision 51914)
+++ net/proxy/sync_host_resolver_bridge.h (working copy)
@@ -7,7 +7,6 @@
#include "base/scoped_ptr.h"
#include "net/base/host_resolver.h"
-#include "net/proxy/single_threaded_proxy_resolver.h"
class MessageLoop;
@@ -35,7 +34,7 @@
// The Shutdown() method should be called prior to destruction, from
// |host_resolver_loop_|. It aborts any in progress synchronous resolves, to
// prevent deadlocks from happening.
- void Shutdown();
+ virtual void Shutdown();
private:
class Core;
@@ -44,22 +43,6 @@
scoped_refptr<Core> core_;
};
-// Subclass of SingleThreadedProxyResolver that additionally calls
-// |bridged_host_resolver_->Shutdown()| during its destructor.
-class SingleThreadedProxyResolverUsingBridgedHostResolver
- : public SingleThreadedProxyResolver {
- public:
- SingleThreadedProxyResolverUsingBridgedHostResolver(
- ProxyResolver* proxy_resolver,
- SyncHostResolverBridge* bridged_host_resolver);
-
- virtual ~SingleThreadedProxyResolverUsingBridgedHostResolver();
-
- private:
- scoped_refptr<SyncHostResolverBridge> bridged_host_resolver_;
-};
-
-
} // namespace net
#endif // NET_PROXY_SYNC_HOST_RESOLVER_BRIDGE_H_
« no previous file with comments | « net/proxy/single_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/sync_host_resolver_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698