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

Unified Diff: components/scheduler/base/nestable_task_runner_for_test.h

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. Created 5 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
Index: components/scheduler/base/nestable_task_runner_for_test.h
diff --git a/components/scheduler/child/nestable_task_runner_for_test.h b/components/scheduler/base/nestable_task_runner_for_test.h
similarity index 80%
rename from components/scheduler/child/nestable_task_runner_for_test.h
rename to components/scheduler/base/nestable_task_runner_for_test.h
index e1a4f276d03872818de5a42be3c3bcbbc243406a..593b846a073595af6549123a62f053bc6b4c9b94 100644
--- a/components/scheduler/child/nestable_task_runner_for_test.h
+++ b/components/scheduler/base/nestable_task_runner_for_test.h
@@ -2,10 +2,10 @@
// 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_
+#ifndef CONTENT_RENDERER_SCHEDULER_BASE_NESTABLE_TASK_RUNNER_FOR_TEST_H_
+#define CONTENT_RENDERER_SCHEDULER_BASE_NESTABLE_TASK_RUNNER_FOR_TEST_H_
-#include "components/scheduler/child/nestable_single_thread_task_runner.h"
+#include "components/scheduler/base/nestable_single_thread_task_runner.h"
namespace scheduler {
@@ -26,17 +26,15 @@ class NestableTaskRunnerForTest : public NestableSingleThreadTaskRunner {
protected:
~NestableTaskRunnerForTest() override;
-
- private:
NestableTaskRunnerForTest(
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ private:
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- bool is_nested_;
DISALLOW_COPY_AND_ASSIGN(NestableTaskRunnerForTest);
};
} // namespace scheduler
-#endif // CONTENT_RENDERER_SCHEDULER_NESTABLE_TASK_RUNNER_FOR_TEST_H_
+#endif // CONTENT_RENDERER_SCHEDULER_BASE_NESTABLE_TASK_RUNNER_FOR_TEST_H_

Powered by Google App Engine
This is Rietveld 408576698