Chromium Code Reviews| Index: net/proxy/proxy_resolver_mojo.h |
| diff --git a/net/proxy/proxy_resolver_mojo.h b/net/proxy/proxy_resolver_mojo.h |
| index 9d97095142479b2bd58d78d096efecd3d9e1c302..6bc7d6bbfd28e3638249c8248accff15de0da765 100644 |
| --- a/net/proxy/proxy_resolver_mojo.h |
| +++ b/net/proxy/proxy_resolver_mojo.h |
| @@ -9,6 +9,7 @@ |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "base/threading/thread_checker.h" |
| #include "net/base/completion_callback.h" |
| #include "net/base/load_states.h" |
| @@ -96,6 +97,8 @@ class ProxyResolverMojo : public ProxyResolver, public mojo::ErrorHandler { |
| base::ThreadChecker thread_checker_; |
| + base::WeakPtrFactory<ProxyResolverMojo> weak_factory_; |
|
eroman
2015/04/15 00:56:52
Please think about using WeakPointer less rather t
Sam McNally
2015/04/15 04:35:56
Removed it.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(ProxyResolverMojo); |
| }; |