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

Side by Side Diff: components/scheduler/base/work_queue_sets_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, 11 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/work_queue_sets.h" 5 #include "components/scheduler/base/work_queue_sets.h"
6 6
7 #include <stddef.h>
8
7 #include "components/scheduler/base/work_queue.h" 9 #include "components/scheduler/base/work_queue.h"
8 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
9 11
10 namespace scheduler { 12 namespace scheduler {
11 class TimeDomain; 13 class TimeDomain;
12 14
13 namespace internal { 15 namespace internal {
14 16
15 class WorkQueueSetsTest : public testing::Test { 17 class WorkQueueSetsTest : public testing::Test {
16 public: 18 public:
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 work_queue_sets_->AssignQueueToSet(work_queue, set); 239 work_queue_sets_->AssignQueueToSet(work_queue, set);
238 EXPECT_FALSE(work_queue_sets_->IsSetEmpty(set)); 240 EXPECT_FALSE(work_queue_sets_->IsSetEmpty(set));
239 241
240 work_queue->PopTaskForTest(); 242 work_queue->PopTaskForTest();
241 work_queue_sets_->OnPopQueue(work_queue); 243 work_queue_sets_->OnPopQueue(work_queue);
242 EXPECT_TRUE(work_queue_sets_->IsSetEmpty(set)); 244 EXPECT_TRUE(work_queue_sets_->IsSetEmpty(set));
243 } 245 }
244 246
245 } // namespace internal 247 } // namespace internal
246 } // namespace scheduler 248 } // namespace scheduler
OLDNEW
« no previous file with comments | « components/scheduler/base/work_queue_sets.h ('k') | components/scheduler/child/child_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698