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

Unified Diff: base/message_loop/message_loop.h

Issue 2356383003: Delete MessageLoop::Run()/RunUntilIdle(). (Closed)
Patch Set: rebase Created 4 years, 3 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') | no next file with comments »
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 56565fa37afe32331f213159a6859fbc8a4ce090..107e442e1596a08d80a8495e4d9db86e42ca1dbf 100644
--- a/base/message_loop/message_loop.h
+++ b/base/message_loop/message_loop.h
@@ -178,23 +178,6 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
void AddNestingObserver(NestingObserver* observer);
void RemoveNestingObserver(NestingObserver* observer);
-#if defined(OS_MACOSX) && !defined(OS_IOS)
- protected:
-#endif // defined(OS_MACOSX) && !defined(OS_IOS)
-
- // Deprecated: use RunLoop instead.
- // Run the message loop.
- void Run();
-
- // Deprecated: use RunLoop instead.
- // Process all pending tasks, windows messages, etc., but don't wait/sleep.
- // Return as soon as all items that can be run are taken care of.
- void RunUntilIdle();
-
-#if defined(OS_MACOSX) && !defined(OS_IOS)
- public:
-#endif // defined(OS_MACOSX) && !defined(OS_IOS)
-
// Deprecated: use RunLoop instead.
//
// Signals the Run method to return when it becomes idle. It will continue to
@@ -506,9 +489,6 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
//
class BASE_EXPORT MessageLoopForUI : public MessageLoop {
public:
- using MessageLoop::Run;
- using MessageLoop::RunUntilIdle;
-
MessageLoopForUI() : MessageLoop(TYPE_UI) {
}
@@ -574,9 +554,6 @@ static_assert(sizeof(MessageLoop) == sizeof(MessageLoopForUI),
//
class BASE_EXPORT MessageLoopForIO : public MessageLoop {
public:
- using MessageLoop::Run;
- using MessageLoop::RunUntilIdle;
-
MessageLoopForIO() : MessageLoop(TYPE_IO) {
}
« no previous file with comments | « no previous file | base/message_loop/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698