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

Side by Side Diff: components/scheduler/child/scheduler_helper_unittest.cc

Issue 1223163006: Implement PostDelayedTaskAt for guaranteed timer ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include to IdleHelperTest. Created 5 years, 5 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 | « components/scheduler/child/scheduler_helper.cc ('k') | components/scheduler/child/task_queue.h » ('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 #include "components/scheduler/child/scheduler_helper.h" 5 #include "components/scheduler/child/scheduler_helper.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/test/simple_test_tick_clock.h" 8 #include "base/test/simple_test_tick_clock.h"
9 #include "cc/test/ordered_simple_task_runner.h" 9 #include "cc/test/ordered_simple_task_runner.h"
10 #include "components/scheduler/child/nestable_task_runner_for_test.h" 10 #include "components/scheduler/child/nestable_task_runner_for_test.h"
11 #include "components/scheduler/child/scheduler_message_loop_delegate.h" 11 #include "components/scheduler/child/scheduler_message_loop_delegate.h"
12 #include "components/scheduler/child/task_queue.h"
12 #include "components/scheduler/child/test_time_source.h" 13 #include "components/scheduler/child/test_time_source.h"
13 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 using testing::_; 17 using testing::_;
17 using testing::AnyNumber; 18 using testing::AnyNumber;
18 using testing::Invoke; 19 using testing::Invoke;
19 using testing::Return; 20 using testing::Return;
20 21
21 namespace scheduler { 22 namespace scheduler {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 scheduler_helper_->Shutdown(); 135 scheduler_helper_->Shutdown();
135 EXPECT_TRUE(scheduler_helper_->IsShutdown()); 136 EXPECT_TRUE(scheduler_helper_->IsShutdown());
136 } 137 }
137 138
138 TEST_F(SchedulerHelperTest, TaskQueueIdToString) { 139 TEST_F(SchedulerHelperTest, TaskQueueIdToString) {
139 CheckAllTaskQueueIdToString(); 140 CheckAllTaskQueueIdToString();
140 } 141 }
141 142
142 } // namespace scheduler 143 } // namespace scheduler
OLDNEW
« no previous file with comments | « components/scheduler/child/scheduler_helper.cc ('k') | components/scheduler/child/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698