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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h

Issue 2818533003: Make nesting/running states a RunLoop rather than a MessageLoop concept. (Closed)
Patch Set: still need to check MessageLoop::current() in Mojo's RunLoopNestingObserver::GetForThread() Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h
index 5946dbcd81ad308edf9b5912edc24c04c27d1959..167f3b9213fd67bcba7a59f1e1a78cc3ec771688 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_for_test.h
@@ -35,10 +35,8 @@ class SchedulerTqmDelegateForTest : public SchedulerTqmDelegate {
base::TimeDelta delay) override;
bool RunsTasksOnCurrentThread() const override;
bool IsNested() const override;
- void AddNestingObserver(
- base::MessageLoop::NestingObserver* observer) override;
- void RemoveNestingObserver(
- base::MessageLoop::NestingObserver* observer) override;
+ void AddNestingObserver(base::RunLoop::NestingObserver* observer) override;
+ void RemoveNestingObserver(base::RunLoop::NestingObserver* observer) override;
base::TimeTicks NowTicks() override;
base::SingleThreadTaskRunner* default_task_runner() const {

Powered by Google App Engine
This is Rietveld 408576698