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

Unified Diff: third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h

Issue 2818533003: Make nesting/running states a RunLoop rather than a MessageLoop concept. (Closed)
Patch Set: disable more checks 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
Index: third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h
diff --git a/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h b/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h
index bdbd7464f07c16e383c20d8630070bff544bcd0f..6f143e7cec52c184f8d8607f224d3848a801b4e5 100644
--- a/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h
+++ b/third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.h
@@ -39,10 +39,8 @@ class LazySchedulerMessageLoopDelegateForTests : 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;
private:
@@ -60,8 +58,6 @@ class LazySchedulerMessageLoopDelegateForTests : public SchedulerTqmDelegate {
mutable scoped_refptr<base::SingleThreadTaskRunner> original_task_runner_;
std::unique_ptr<base::TickClock> time_source_;
- base::MessageLoop::NestingObserver* pending_observer_;
-
DISALLOW_COPY_AND_ASSIGN(LazySchedulerMessageLoopDelegateForTests);
};

Powered by Google App Engine
This is Rietveld 408576698