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

Unified Diff: base/message_loop/message_loop.h

Issue 2824533002: Migrate Bind to BindOnce or BindRepeating in //base/message_loop (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | base/message_loop/message_loop.cc » ('j') | base/win/message_window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_loop.h
diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
index 2ef4537d339319a483a35c25c9f7a44ba822e72d..a433ae56c88cd621c210906a1e358a3acf1a3422 100644
--- a/base/message_loop/message_loop.h
+++ b/base/message_loop/message_loop.h
@@ -334,7 +334,8 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
protected:
std::unique_ptr<MessagePump> pump_;
- using MessagePumpFactoryCallback = Callback<std::unique_ptr<MessagePump>()>;
+ using MessagePumpFactoryCallback =
+ OnceCallback<std::unique_ptr<MessagePump>()>;
// Common protected constructor. Other constructors delegate the
// initialization to this constructor.
« no previous file with comments | « no previous file | base/message_loop/message_loop.cc » ('j') | base/win/message_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698