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

Side by Side Diff: cc/resources/worker_pool_unittest.cc

Issue 17004002: cc: Move WorkerPool from cc/base to cc/resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/worker_pool_perftest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "cc/base/worker_pool.h" 5 #include "cc/resources/worker_pool.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "cc/base/completion_event.h" 9 #include "cc/base/completion_event.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 namespace { 14 namespace {
15 15
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 EXPECT_EQ(1u, run_task_ids()[3]); 197 EXPECT_EQ(1u, run_task_ids()[3]);
198 EXPECT_EQ(1u, run_task_ids()[4]); 198 EXPECT_EQ(1u, run_task_ids()[4]);
199 ASSERT_EQ(3u, on_task_completed_ids().size()); 199 ASSERT_EQ(3u, on_task_completed_ids().size());
200 EXPECT_EQ(1u, on_task_completed_ids()[1]); 200 EXPECT_EQ(1u, on_task_completed_ids()[1]);
201 EXPECT_EQ(1u, on_task_completed_ids()[2]); 201 EXPECT_EQ(1u, on_task_completed_ids()[2]);
202 } 202 }
203 203
204 } // namespace 204 } // namespace
205 205
206 } // namespace cc 206 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/worker_pool_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698