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

Unified Diff: third_party/WebKit/public/platform/scheduler/child/worker_scheduler.h

Issue 2807243003: [scheduler] Remove WorkerScheduler from public API. (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/child/compositor_worker_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/scheduler/child/worker_scheduler.h
diff --git a/third_party/WebKit/public/platform/scheduler/child/worker_scheduler.h b/third_party/WebKit/public/platform/scheduler/child/worker_scheduler.h
deleted file mode 100644
index 1d814b1c590db2c12dc460406808f69289af950a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/scheduler/child/worker_scheduler.h
+++ /dev/null
@@ -1,38 +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 THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_H_
-#define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
-#include "public/platform/scheduler/child/child_scheduler.h"
-#include "public/platform/scheduler/child/single_thread_idle_task_runner.h"
-#include "public/platform/WebCommon.h"
-
-namespace blink {
-namespace scheduler {
-class SchedulerTqmDelegate;
-
-class BLINK_PLATFORM_EXPORT WorkerScheduler : public ChildScheduler {
- public:
- ~WorkerScheduler() override;
- static std::unique_ptr<WorkerScheduler> Create(
- scoped_refptr<SchedulerTqmDelegate> main_task_runner);
-
- // Must be called before the scheduler can be used. Does any post construction
- // initialization needed such as initializing idle period detection.
- virtual void Init() = 0;
-
- protected:
- WorkerScheduler();
- DISALLOW_COPY_AND_ASSIGN(WorkerScheduler);
-};
-
-} // namespace scheduler
-} // namespace blink
-
-#endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WORKER_SCHEDULER_H_
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/child/compositor_worker_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698