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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 10332233: Inherits SupportsWeakPtr<T> instead of having WeakPtrFactory<T> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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
Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
index 22276e6ed331cb079e1f5b922271196b4dcff9f4..f7c62743b1c7aaec8cdba6096d3f7c7eecf43d70 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
@@ -62,7 +62,8 @@ struct Referrer;
class CONTENT_EXPORT ResourceDispatcherHostImpl
: public ResourceDispatcherHost,
public net::URLRequest::Delegate,
- public SSLErrorHandler::Delegate {
+ public SSLErrorHandler::Delegate,
+ public base::SupportsWeakPtr<ResourceDispatcherHostImpl> {
public:
ResourceDispatcherHostImpl();
virtual ~ResourceDispatcherHostImpl();
@@ -476,12 +477,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// request_id_.
int request_id_;
- // For running tasks.
- base::WeakPtrFactory<ResourceDispatcherHostImpl> weak_factory_;
-
- // For SSLErrorHandler::Delegate calls from SSLManager.
- base::WeakPtrFactory<SSLErrorHandler::Delegate> ssl_delegate_weak_factory_;
-
// True if the resource dispatcher host has been shut down.
bool is_shutdown_;

Powered by Google App Engine
This is Rietveld 408576698