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

Unified Diff: net/proxy/proxy_resolver_mojo.h

Issue 1069483003: Handle ERR_PAC_SCRIPT_TERMINATED in ProxyService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | net/proxy/proxy_resolver_mojo.cc » ('j') | net/proxy/proxy_resolver_mojo.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_mojo.cc » ('j') | net/proxy/proxy_resolver_mojo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698