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

Side by Side Diff: components/html_viewer/web_scheduler_impl.h

Issue 1099303002: Move html_viewer from mojo/services to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
7 7
8 #include "third_party/WebKit/public/platform/WebScheduler.h" 8 #include "third_party/WebKit/public/platform/WebScheduler.h"
9 #include "third_party/WebKit/public/platform/WebThread.h" 9 #include "third_party/WebKit/public/platform/WebThread.h"
10 #include "third_party/WebKit/public/platform/WebTraceLocation.h" 10 #include "third_party/WebKit/public/platform/WebTraceLocation.h"
11 11
12 namespace html_viewer { 12 namespace html_viewer {
13 13
14 class WebSchedulerImpl : public blink::WebScheduler { 14 class WebSchedulerImpl : public blink::WebScheduler {
15 public: 15 public:
16 explicit WebSchedulerImpl( 16 explicit WebSchedulerImpl(
(...skipping 13 matching lines...) Expand all
30 static void RunIdleTask(scoped_ptr<blink::WebThread::IdleTask> task); 30 static void RunIdleTask(scoped_ptr<blink::WebThread::IdleTask> task);
31 static void RunTask(scoped_ptr<blink::WebThread::Task> task); 31 static void RunTask(scoped_ptr<blink::WebThread::Task> task);
32 32
33 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 33 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(WebSchedulerImpl); 35 DISALLOW_COPY_AND_ASSIGN(WebSchedulerImpl);
36 }; 36 };
37 37
38 } // namespace html_viewer 38 } // namespace html_viewer
39 39
40 #endif // MOJO_SERVICES_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_ 40 #endif // COMPONENTS_HTML_VIEWER_WEB_SCHEDULER_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_notification_manager_impl.cc ('k') | components/html_viewer/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698