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

Side by Side Diff: base/threading/thread_collision_warner_unittest.cc

Issue 1550503002: Switch to standard integer types in base/threading/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « base/threading/thread_collision_warner.h ('k') | base/threading/thread_id_name_manager.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "base/macros.h"
6 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
7 #include "base/synchronization/lock.h" 8 #include "base/synchronization/lock.h"
8 #include "base/threading/platform_thread.h" 9 #include "base/threading/platform_thread.h"
9 #include "base/threading/simple_thread.h" 10 #include "base/threading/simple_thread.h"
10 #include "base/threading/thread_collision_warner.h" 11 #include "base/threading/thread_collision_warner.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 // '' : local class member function does not have a body 14 // '' : local class member function does not have a body
14 MSVC_PUSH_DISABLE_WARNING(4822) 15 MSVC_PUSH_DISABLE_WARNING(4822)
15 16
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); 371 base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b");
371 372
372 thread_a.Start(); 373 thread_a.Start();
373 thread_b.Start(); 374 thread_b.Start();
374 375
375 thread_a.Join(); 376 thread_a.Join();
376 thread_b.Join(); 377 thread_b.Join();
377 378
378 EXPECT_FALSE(local_reporter->fail_state()); 379 EXPECT_FALSE(local_reporter->fail_state());
379 } 380 }
OLDNEW
« no previous file with comments | « base/threading/thread_collision_warner.h ('k') | base/threading/thread_id_name_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698