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

Unified Diff: chrome/browser/net/network_stats.h

Issue 8589012: base::Bind fixes (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
Index: chrome/browser/net/network_stats.h
diff --git a/chrome/browser/net/network_stats.h b/chrome/browser/net/network_stats.h
index 65742b60ecf690858250279210d3d7c773995195..7b23a60e5ba544c0f29862a1d42220de9908563c 100644
--- a/chrome/browser/net/network_stats.h
+++ b/chrome/browser/net/network_stats.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_util.h"
@@ -194,7 +195,7 @@ class NetworkStats {
base::TimeTicks start_time_;
// We use this factory to create timeout tasks for socket's ReadData.
wtc 2011/11/17 08:16:21 Is this comment still accurate?
- ScopedRunnableMethodFactory<NetworkStats> timers_factory_;
+ base::WeakPtrFactory<NetworkStats> weak_factory_;
};
class UDPStatsClient : public NetworkStats {

Powered by Google App Engine
This is Rietveld 408576698