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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper_unittest.cc

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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 "platform/scheduler/child/scheduler_helper.h" 5 #include "platform/scheduler/child/scheduler_helper.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/test/simple_test_tick_clock.h" 10 #include "base/test/simple_test_tick_clock.h"
11 #include "cc/test/ordered_simple_task_runner.h" 11 #include "cc/test/ordered_simple_task_runner.h"
12 #include "public/platform/scheduler/base/task_queue.h"
13 #include "platform/scheduler/base/lazy_now.h" 12 #include "platform/scheduler/base/lazy_now.h"
14 #include "platform/scheduler/base/test_time_source.h" 13 #include "platform/scheduler/base/test_time_source.h"
15 #include "platform/scheduler/child/scheduler_tqm_delegate_for_test.h" 14 #include "platform/scheduler/child/scheduler_tqm_delegate_for_test.h"
15 #include "public/platform/scheduler/base/task_queue.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 using testing::_; 19 using testing::_;
20 using testing::AnyNumber; 20 using testing::AnyNumber;
21 using testing::Invoke; 21 using testing::Invoke;
22 using testing::Return; 22 using testing::Return;
23 23
24 namespace blink { 24 namespace blink {
25 namespace scheduler { 25 namespace scheduler {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 voter->SetQueueEnabled(false); 227 voter->SetQueueEnabled(false);
228 228
229 EXPECT_CALL(observer, OnTriedToExecuteBlockedTask(_, _)).Times(1); 229 EXPECT_CALL(observer, OnTriedToExecuteBlockedTask(_, _)).Times(1);
230 RunUntilIdle(); 230 RunUntilIdle();
231 231
232 scheduler_helper_->SetObserver(nullptr); 232 scheduler_helper_->SetObserver(nullptr);
233 } 233 }
234 234
235 } // namespace scheduler 235 } // namespace scheduler
236 } // namespace blink 236 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698