| Index: net/proxy/proxy_service.cc
|
| ===================================================================
|
| --- net/proxy/proxy_service.cc (revision 65207)
|
| +++ net/proxy/proxy_service.cc (working copy)
|
| @@ -12,7 +12,6 @@
|
| #include "base/message_loop.h"
|
| #include "base/string_util.h"
|
| #include "googleurl/src/gurl.h"
|
| -#include "net/base/forwarding_net_log.h"
|
| #include "net/base/net_log.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_util.h"
|
| @@ -165,8 +164,7 @@
|
| : ProxyResolverFactory(true /*expects_pac_bytes*/),
|
| async_host_resolver_(async_host_resolver),
|
| io_loop_(io_loop),
|
| - forwarding_net_log_(
|
| - net_log ? new ForwardingNetLog(net_log, io_loop) : NULL) {
|
| + net_log_(net_log) {
|
| }
|
|
|
| virtual ProxyResolver* CreateProxyResolver() {
|
| @@ -176,8 +174,7 @@
|
| new SyncHostResolverBridge(async_host_resolver_, io_loop_);
|
|
|
| ProxyResolverJSBindings* js_bindings =
|
| - ProxyResolverJSBindings::CreateDefault(sync_host_resolver,
|
| - forwarding_net_log_.get());
|
| + ProxyResolverJSBindings::CreateDefault(sync_host_resolver, net_log_);
|
|
|
| // ProxyResolverV8 takes ownership of |js_bindings|.
|
| return new ProxyResolverV8(js_bindings);
|
| @@ -186,10 +183,7 @@
|
| private:
|
| HostResolver* const async_host_resolver_;
|
| MessageLoop* io_loop_;
|
| -
|
| - // Thread-safe wrapper around a non-threadsafe NetLog implementation. This
|
| - // enables the proxy resolver to emit log messages from the PAC thread.
|
| - scoped_ptr<ForwardingNetLog> forwarding_net_log_;
|
| + NetLog* net_log_;
|
| };
|
|
|
| // Creates ProxyResolvers using a platform-specific implementation.
|
|
|