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

Unified Diff: content/utility/webthread_impl_for_utility_thread.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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/utility/webthread_impl_for_utility_thread.h
diff --git a/content/utility/webthread_impl_for_utility_thread.h b/content/utility/webthread_impl_for_utility_thread.h
deleted file mode 100644
index a5220fe0960e1d978cd173fa1f69370178394e88..0000000000000000000000000000000000000000
--- a/content/utility/webthread_impl_for_utility_thread.h
+++ /dev/null
@@ -1,36 +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_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
-#define CONTENT_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "components/scheduler/child/webthread_base.h"
-
-namespace content {
-
-class WebThreadImplForUtilityThread : public scheduler::WebThreadBase {
- public:
- WebThreadImplForUtilityThread();
- ~WebThreadImplForUtilityThread() override;
-
- // blink::WebThread implementation.
- blink::WebScheduler* scheduler() const override;
- blink::PlatformThreadId threadId() const override;
-
- // WebThreadBase implementation.
- base::SingleThreadTaskRunner* GetTaskRunner() const override;
- scheduler::SingleThreadIdleTaskRunner* GetIdleTaskRunner() const override;
-
- private:
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- blink::PlatformThreadId thread_id_;
-
- DISALLOW_COPY_AND_ASSIGN(WebThreadImplForUtilityThread);
-};
-
-} // namespace content
-
-#endif // CONTENT_UTILITY_WEBTHREAD_IMPL_FOR_UTILITY_THREAD_H_
« no previous file with comments | « content/utility/utility_blink_platform_impl.cc ('k') | content/utility/webthread_impl_for_utility_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698