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

Unified Diff: base/message_loop/message_loop.cc

Issue 2155223002: Remove deprecated methods from MessageLoop on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_msg_loop
Patch Set: rebase Created 4 years, 5 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 | « base/message_loop/message_loop.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_loop.cc
diff --git a/base/message_loop/message_loop.cc b/base/message_loop/message_loop.cc
index ee93692874045111a3e8920936f97c6d131c57c5..93b9d0a2ec44bcc64567d197996faad652a242ff 100644
--- a/base/message_loop/message_loop.cc
+++ b/base/message_loop/message_loop.cc
@@ -276,6 +276,7 @@ void MessageLoop::RemoveNestingObserver(NestingObserver* observer) {
nesting_observers_.RemoveObserver(observer);
}
+#if !(defined(OS_MACOSX) && !defined(OS_IOS))
void MessageLoop::PostTask(
const tracked_objects::Location& from_here,
const Closure& task) {
@@ -288,6 +289,7 @@ void MessageLoop::PostDelayedTask(
TimeDelta delay) {
task_runner_->PostDelayedTask(from_here, task, delay);
}
+#endif // !(defined(OS_MACOSX) && !defined(OS_IOS))
void MessageLoop::Run() {
DCHECK(pump_);
@@ -688,6 +690,7 @@ bool MessageLoop::DoIdleWork() {
return false;
}
+#if !(defined(OS_MACOSX) && !defined(OS_IOS))
void MessageLoop::DeleteSoonInternal(const tracked_objects::Location& from_here,
void(*deleter)(const void*),
const void* object) {
@@ -700,6 +703,7 @@ void MessageLoop::ReleaseSoonInternal(
const void* object) {
task_runner()->PostNonNestableTask(from_here, Bind(releaser, object));
}
+#endif // !(defined(OS_MACOSX) && !defined(OS_IOS))
#if !defined(OS_NACL)
//------------------------------------------------------------------------------
« no previous file with comments | « base/message_loop/message_loop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698