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

Side by Side Diff: content/renderer/scheduler/web_scheduler_impl.h

Issue 1022443002: Remove unused shutdown() function from WebSchedulerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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
« no previous file with comments | « no previous file | content/renderer/scheduler/web_scheduler_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_
6 #define CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_ 6 #define CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 21 matching lines...) Expand all
32 blink::WebScheduler::IdleTask* task); 32 blink::WebScheduler::IdleTask* task);
33 virtual void postNonNestableIdleTask(const blink::WebTraceLocation& location, 33 virtual void postNonNestableIdleTask(const blink::WebTraceLocation& location,
34 blink::WebScheduler::IdleTask* task); 34 blink::WebScheduler::IdleTask* task);
35 virtual void postIdleTaskAfterWakeup(const blink::WebTraceLocation& location, 35 virtual void postIdleTaskAfterWakeup(const blink::WebTraceLocation& location,
36 blink::WebScheduler::IdleTask* task); 36 blink::WebScheduler::IdleTask* task);
37 virtual void postLoadingTask(const blink::WebTraceLocation& location, 37 virtual void postLoadingTask(const blink::WebTraceLocation& location,
38 blink::WebThread::Task* task); 38 blink::WebThread::Task* task);
39 virtual void postTimerTask(const blink::WebTraceLocation& location, 39 virtual void postTimerTask(const blink::WebTraceLocation& location,
40 blink::WebThread::Task* task, 40 blink::WebThread::Task* task,
41 long long delayMs); 41 long long delayMs);
42 virtual void shutdown();
43 42
44 private: 43 private:
45 static void runIdleTask(scoped_ptr<blink::WebScheduler::IdleTask> task, 44 static void runIdleTask(scoped_ptr<blink::WebScheduler::IdleTask> task,
46 base::TimeTicks deadline); 45 base::TimeTicks deadline);
47 static void runTask(scoped_ptr<blink::WebThread::Task> task); 46 static void runTask(scoped_ptr<blink::WebThread::Task> task);
48 47
49 RendererScheduler* renderer_scheduler_; 48 RendererScheduler* renderer_scheduler_;
50 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_; 49 scoped_refptr<SingleThreadIdleTaskRunner> idle_task_runner_;
51 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; 50 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_;
52 scoped_refptr<base::SingleThreadTaskRunner> timer_task_runner_; 51 scoped_refptr<base::SingleThreadTaskRunner> timer_task_runner_;
53 }; 52 };
54 53
55 } // namespace content 54 } // namespace content
56 55
57 #endif // CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_ 56 #endif // CONTENT_RENDERER_SCHEDULER_WEB_SCHEDULER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/scheduler/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698