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

Unified Diff: third_party/WebKit/public/platform/scheduler/utility/webthread_impl_for_utility_thread.h

Issue 2812063002: [scheduler] Remove WebThreadImplForUtilityThread from public API. (Closed)
Patch Set: Fix unittest compilation 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/webthread_base.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/utility/webthread_impl_for_utility_thread.h
diff --git a/third_party/WebKit/public/platform/scheduler/utility/webthread_impl_for_utility_thread.h b/third_party/WebKit/public/platform/scheduler/utility/webthread_impl_for_utility_thread.h
deleted file mode 100644
index 30498aecbea5680328404e451227a83a806d78e0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/scheduler/utility/webthread_impl_for_utility_thread.h
+++ /dev/null
@@ -1,41 +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_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
-#define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "public/platform/scheduler/child/webthread_base.h"
-#include "public/platform/WebCommon.h"
-
-namespace blink {
-namespace scheduler {
-
-class BLINK_PLATFORM_EXPORT WebThreadImplForUtilityThread
- : public scheduler::WebThreadBase {
- public:
- WebThreadImplForUtilityThread();
- ~WebThreadImplForUtilityThread() override;
-
- // WebThread implementation.
- WebScheduler* Scheduler() const override;
- PlatformThreadId ThreadId() const override;
-
- // WebThreadBase implementation.
- base::SingleThreadTaskRunner* GetTaskRunner() const override;
- scheduler::SingleThreadIdleTaskRunner* GetIdleTaskRunner() const override;
- void Init() override;
-
- private:
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- PlatformThreadId thread_id_;
-
- DISALLOW_COPY_AND_ASSIGN(WebThreadImplForUtilityThread);
-};
-
-} // namespace scheduler
-} // namespace blink
-
-#endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/child/webthread_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698