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

Side by Side Diff: content/child/scheduler/task_queue_selector.h

Issue 1025323003: Introduce a SchedulerHelper in content/child/scheduler (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
« no previous file with comments | « content/child/scheduler/task_queue_manager_unittest.cc ('k') | content/content_child.gypi » ('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_TASK_QUEUE_SELECTOR_H_ 5 #ifndef CONTENT_CHILD_SCHEDULER_TASK_QUEUE_SELECTOR_H_
6 #define CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_SELECTOR_H_ 6 #define CONTENT_CHILD_SCHEDULER_TASK_QUEUE_SELECTOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 namespace base { 12 namespace base {
13 class TaskQueue; 13 class TaskQueue;
14 namespace trace_event { 14 namespace trace_event {
15 class TracedValue; 15 class TracedValue;
16 } // namespace trace_event 16 } // namespace trace_event
(...skipping 16 matching lines...) Expand all
33 // 33 //
34 // This function is called on the main thread. 34 // This function is called on the main thread.
35 virtual bool SelectWorkQueueToService(size_t* out_queue_index) = 0; 35 virtual bool SelectWorkQueueToService(size_t* out_queue_index) = 0;
36 36
37 // Serialize the selector state for tracing. 37 // Serialize the selector state for tracing.
38 virtual void AsValueInto(base::trace_event::TracedValue* state) const = 0; 38 virtual void AsValueInto(base::trace_event::TracedValue* state) const = 0;
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_SELECTOR_H_ 43 #endif // CONTENT_CHILD_SCHEDULER_TASK_QUEUE_SELECTOR_H_
OLDNEW
« no previous file with comments | « content/child/scheduler/task_queue_manager_unittest.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698