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

Side by Side Diff: gpu/command_buffer/service/command_buffer_service_unittest.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/vtable_patch_manager_unittest.cc ('k') | ipc/ipc_channel_proxy.cc » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/callback.h" 5 #include "base/callback.h"
6 #include "base/mac/scoped_nsautorelease_pool.h" 6 #include "base/mac/scoped_nsautorelease_pool.h"
7 #include "base/thread.h" 7 #include "base/threading/thread.h"
8 #include "gpu/command_buffer/common/cmd_buffer_common.h" 8 #include "gpu/command_buffer/common/cmd_buffer_common.h"
9 #include "gpu/command_buffer/service/command_buffer_service.h" 9 #include "gpu/command_buffer/service/command_buffer_service.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 using base::SharedMemory; 13 using base::SharedMemory;
14 using testing::_; 14 using testing::_;
15 using testing::DoAll; 15 using testing::DoAll;
16 using testing::Return; 16 using testing::Return;
17 using testing::SetArgumentPointee; 17 using testing::SetArgumentPointee;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 TEST_F(CommandBufferServiceTest, DefaultParseErrorIsNoError) { 194 TEST_F(CommandBufferServiceTest, DefaultParseErrorIsNoError) {
195 EXPECT_EQ(0, GetError()); 195 EXPECT_EQ(0, GetError());
196 } 196 }
197 197
198 TEST_F(CommandBufferServiceTest, CanSetParseError) { 198 TEST_F(CommandBufferServiceTest, CanSetParseError) {
199 command_buffer_->SetParseError(error::kInvalidSize); 199 command_buffer_->SetParseError(error::kInvalidSize);
200 EXPECT_EQ(1, GetError()); 200 EXPECT_EQ(1, GetError());
201 } 201 }
202 } // namespace gpu 202 } // namespace gpu
OLDNEW
« no previous file with comments | « chrome_frame/vtable_patch_manager_unittest.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698