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

Unified Diff: content/child/scheduler/nestable_task_runner_for_test.h

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 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: content/child/scheduler/nestable_task_runner_for_test.h
diff --git a/content/child/scheduler/nestable_task_runner_for_test.h b/content/child/scheduler/nestable_task_runner_for_test.h
deleted file mode 100644
index c9b9b96478fe0e724596f167233e6f855af9d6eb..0000000000000000000000000000000000000000
--- a/content/child/scheduler/nestable_task_runner_for_test.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_SCHEDULER_NESTABLE_TASK_RUNNER_FOR_TEST_H_
-#define CONTENT_RENDERER_SCHEDULER_NESTABLE_TASK_RUNNER_FOR_TEST_H_
-
-#include "content/child/scheduler/nestable_single_thread_task_runner.h"
-
-namespace content {
-
-class NestableTaskRunnerForTest : public NestableSingleThreadTaskRunner {
- public:
- static scoped_refptr<NestableTaskRunnerForTest> Create(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner);
-
- void SetNested(bool is_nested);
-
- // NestableSingleThreadTaskRunner implementation
- bool PostDelayedTask(const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeDelta delay) override;
- bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeDelta delay) override;
- bool RunsTasksOnCurrentThread() const override;
- bool IsNested() const override;
-
- protected:
- ~NestableTaskRunnerForTest() override;
-
- private:
- NestableTaskRunnerForTest(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner);
-
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- bool is_nested_;
-
- DISALLOW_COPY_AND_ASSIGN(NestableTaskRunnerForTest);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_SCHEDULER_NESTABLE_TASK_RUNNER_FOR_TEST_H_
« no previous file with comments | « content/child/scheduler/nestable_single_thread_task_runner.h ('k') | content/child/scheduler/nestable_task_runner_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698