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

Side by Side Diff: components/scheduler/base/task_queue_selector_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 #include "components/scheduler/base/task_queue_selector.h" 5 #include "components/scheduler/base/task_queue_selector.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "base/pending_task.h" 12 #include "base/pending_task.h"
10 #include "components/scheduler/base/task_queue_impl.h" 13 #include "components/scheduler/base/task_queue_impl.h"
11 #include "components/scheduler/base/virtual_time_domain.h" 14 #include "components/scheduler/base/virtual_time_domain.h"
12 #include "components/scheduler/base/work_queue.h" 15 #include "components/scheduler/base/work_queue.h"
13 #include "components/scheduler/base/work_queue_sets.h" 16 #include "components/scheduler/base/work_queue_sets.h"
14 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
16 19
17 using testing::_; 20 using testing::_;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 EXPECT_EQ(chose_delayed_over_immediate, 375 EXPECT_EQ(chose_delayed_over_immediate,
373 GetParam().expected_did_starve_immediate_queue); 376 GetParam().expected_did_starve_immediate_queue);
374 } 377 }
375 378
376 INSTANTIATE_TEST_CASE_P(ChooseOldestWithPriorityTest, 379 INSTANTIATE_TEST_CASE_P(ChooseOldestWithPriorityTest,
377 ChooseOldestWithPriorityTest, 380 ChooseOldestWithPriorityTest,
378 testing::ValuesIn(kChooseOldestWithPriorityTestCases)); 381 testing::ValuesIn(kChooseOldestWithPriorityTestCases));
379 382
380 } // namespace internal 383 } // namespace internal
381 } // namespace scheduler 384 } // namespace scheduler
OLDNEW
« no previous file with comments | « components/scheduler/base/task_queue_selector.h ('k') | components/scheduler/base/test_always_fail_time_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698