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

Unified Diff: webkit/quota/mock_storage_client.h

Issue 8342004: base::Bind: Final cleanups in webkit/quota. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « webkit/plugins/ppapi/quota_file_io.cc ('k') | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/mock_storage_client.h
diff --git a/webkit/quota/mock_storage_client.h b/webkit/quota/mock_storage_client.h
index 7317c76b5f6fb196dbdb77437ae5a295ba805548..1e42b75407fa7fbc3344b438c34cf0f92a1c6050 100644
--- a/webkit/quota/mock_storage_client.h
+++ b/webkit/quota/mock_storage_client.h
@@ -11,6 +11,7 @@
#include <utility>
#include "base/compiler_specific.h"
+#include "base/memory/weak_ptr.h"
#include "base/task.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
@@ -81,7 +82,7 @@ class MockStorageClient : public QuotaClient {
int mock_time_counter_;
- ScopedRunnableMethodFactory<MockStorageClient> runnable_factory_;
+ base::WeakPtrFactory<MockStorageClient> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(MockStorageClient);
};
« no previous file with comments | « webkit/plugins/ppapi/quota_file_io.cc ('k') | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698