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

Unified Diff: jingle/glue/fake_network_manager.h

Issue 8551004: base::Bind: Convert jingle/. (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 | « no previous file | jingle/glue/fake_network_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/fake_network_manager.h
diff --git a/jingle/glue/fake_network_manager.h b/jingle/glue/fake_network_manager.h
index ad39e6b0d5632f884d29b2cf8e9859551077dae3..01e2f9105cd93365feb02a1b54800d227d1338c5 100644
--- a/jingle/glue/fake_network_manager.h
+++ b/jingle/glue/fake_network_manager.h
@@ -9,7 +9,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
+#include "base/memory/weak_ptr.h"
#include "net/base/net_util.h"
#include "third_party/libjingle/source/talk/base/network.h"
@@ -33,7 +33,7 @@ class FakeNetworkManager : public talk_base::NetworkManager {
bool started_;
scoped_ptr<talk_base::Network> network_;
- ScopedRunnableMethodFactory<FakeNetworkManager> task_factory_;
+ base::WeakPtrFactory<FakeNetworkManager> weak_factory_;
};
} // namespace jingle_glue
« no previous file with comments | « no previous file | jingle/glue/fake_network_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698