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

Unified Diff: components/html_viewer/web_scheduler_impl.h

Issue 1112573003: Hook up the scheduler component to html_viewer (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
« no previous file with comments | « components/html_viewer/html_viewer.cc ('k') | components/html_viewer/web_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_scheduler_impl.h
diff --git a/components/html_viewer/web_scheduler_impl.h b/components/html_viewer/web_scheduler_impl.h
deleted file mode 100644
index e0d754f48f5a845be87df94f27d73564c6690e93..0000000000000000000000000000000000000000
--- a/components/html_viewer/web_scheduler_impl.h
+++ /dev/null
@@ -1,40 +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 COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
-
-#include "third_party/WebKit/public/platform/WebScheduler.h"
-#include "third_party/WebKit/public/platform/WebThread.h"
-#include "third_party/WebKit/public/platform/WebTraceLocation.h"
-
-namespace html_viewer {
-
-class WebSchedulerImpl : public blink::WebScheduler {
- public:
- explicit WebSchedulerImpl(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner);
- virtual ~WebSchedulerImpl();
-
- private:
- // blink::WebScheduler overrides.
- virtual void postIdleTask(const blink::WebTraceLocation& location,
- blink::WebThread::IdleTask* task);
- virtual void postLoadingTask(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task);
- virtual void postTimerTask(const blink::WebTraceLocation& location,
- blink::WebThread::Task* task,
- long long delayMs);
-
- static void RunIdleTask(scoped_ptr<blink::WebThread::IdleTask> task);
- static void RunTask(scoped_ptr<blink::WebThread::Task> task);
-
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(WebSchedulerImpl);
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
« no previous file with comments | « components/html_viewer/html_viewer.cc ('k') | components/html_viewer/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698