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

Unified Diff: net/curvecp/client_packetizer.h

Issue 8734017: base::Bind: More random cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac build fix 2. 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 | « net/base/keygen_handler_unittest.cc ('k') | net/curvecp/client_packetizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/curvecp/client_packetizer.h
diff --git a/net/curvecp/client_packetizer.h b/net/curvecp/client_packetizer.h
index 4adfe80a604b74c11d4c33d3cfd519b0c483ed9c..4915bbe9924fd02fc0024a2b027bbfc8b36d67d7 100644
--- a/net/curvecp/client_packetizer.h
+++ b/net/curvecp/client_packetizer.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/task.h"
#include "net/base/address_list.h"
#include "net/base/completion_callback.h"
@@ -93,7 +94,7 @@ class ClientPacketizer : public Packetizer {
uchar shortterm_public_key_[32];
OldCompletionCallbackImpl<ClientPacketizer> io_callback_;
- ScopedRunnableMethodFactory<ClientPacketizer> timers_factory_;
+ base::WeakPtrFactory<ClientPacketizer> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ClientPacketizer);
};
« no previous file with comments | « net/base/keygen_handler_unittest.cc ('k') | net/curvecp/client_packetizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698