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

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

Issue 8315011: base::Bind: Convert FileUtilProxy::CreateTemporaryCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Newfangled pipelining. Created 9 years, 2 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 | « base/file_util_proxy.cc ('k') | content/browser/renderer_host/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/redirect_to_file_resource_handler.h
diff --git a/content/browser/renderer_host/redirect_to_file_resource_handler.h b/content/browser/renderer_host/redirect_to_file_resource_handler.h
index c860b2d88a3f8f04e940b59aadf3256c4deadc31..adf1aa75f51b3f5c99736d39a74f6e7cd6098dd9 100644
--- a/content/browser/renderer_host/redirect_to_file_resource_handler.h
+++ b/content/browser/renderer_host/redirect_to_file_resource_handler.h
@@ -7,8 +7,8 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_callback_factory.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/platform_file.h"
#include "content/browser/renderer_host/resource_handler.h"
#include "net/url_request/url_request_status.h"
@@ -57,7 +57,7 @@ class RedirectToFileResourceHandler : public ResourceHandler {
bool WriteMore();
bool BufIsFull() const;
- base::ScopedCallbackFactory<RedirectToFileResourceHandler> callback_factory_;
+ base::WeakPtrFactory<RedirectToFileResourceHandler> weak_factory_;
ResourceDispatcherHost* host_;
scoped_refptr<ResourceHandler> next_handler_;
« no previous file with comments | « base/file_util_proxy.cc ('k') | content/browser/renderer_host/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698