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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h

Issue 2840873002: [scheduler] Rename member variables from task_runner_ to task_queue_. (Closed)
Patch Set: Created 3 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 THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Test helpers. 112 // Test helpers.
113 void SetWorkBatchSizeForTesting(size_t work_batch_size); 113 void SetWorkBatchSizeForTesting(size_t work_batch_size);
114 TaskQueueManager* GetTaskQueueManagerForTesting(); 114 TaskQueueManager* GetTaskQueueManagerForTesting();
115 115
116 private: 116 private:
117 friend class SchedulerHelperTest; 117 friend class SchedulerHelperTest;
118 118
119 base::ThreadChecker thread_checker_; 119 base::ThreadChecker thread_checker_;
120 scoped_refptr<SchedulerTqmDelegate> task_queue_manager_delegate_; 120 scoped_refptr<SchedulerTqmDelegate> task_queue_manager_delegate_;
121 std::unique_ptr<TaskQueueManager> task_queue_manager_; 121 std::unique_ptr<TaskQueueManager> task_queue_manager_;
122 scoped_refptr<TaskQueue> control_task_runner_; 122 scoped_refptr<TaskQueue> control_task_queue_;
123 scoped_refptr<TaskQueue> default_task_runner_; 123 scoped_refptr<TaskQueue> default_task_queue_;
124 124
125 Observer* observer_; // NOT OWNED 125 Observer* observer_; // NOT OWNED
126 const char* tracing_category_; 126 const char* tracing_category_;
127 const char* disabled_by_default_tracing_category_; 127 const char* disabled_by_default_tracing_category_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(SchedulerHelper); 129 DISALLOW_COPY_AND_ASSIGN(SchedulerHelper);
130 }; 130 };
131 131
132 } // namespace scheduler 132 } // namespace scheduler
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H _ 135 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_HELPER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698