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

Unified Diff: content/common/resource_dispatcher.h

Issue 8556001: Convert NewRunnableFunction/NewRunnableMethod calls to use base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 | « content/browser/utility_process_host.cc ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_dispatcher.h
diff --git a/content/common/resource_dispatcher.h b/content/common/resource_dispatcher.h
index 220028218244e75d4746401ae601d7937bdd1ff3..6cc715717bca102d4a9565183a87322daef4ed3c 100644
--- a/content/common/resource_dispatcher.h
+++ b/content/common/resource_dispatcher.h
@@ -13,8 +13,8 @@
#include "base/hash_tables.h"
#include "base/memory/linked_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/shared_memory.h"
-#include "base/task.h"
#include "content/common/content_export.h"
#include "ipc/ipc_channel.h"
#include "webkit/glue/resource_loader_bridge.h"
@@ -154,7 +154,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Channel::Listener {
// All pending requests issued to the host
PendingRequestList pending_requests_;
- ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_;
+ base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
content::ResourceDispatcherDelegate* delegate_;
« no previous file with comments | « content/browser/utility_process_host.cc ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698