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

Side by Side Diff: base/test/sequenced_worker_pool_owner.h

Issue 1544113002: Switch to standard integer types in base/test/. (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/test/sequenced_task_runner_test_template.h ('k') | base/test/task_runner_test_template.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 #ifndef BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_ 5 #ifndef BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_
6 #define BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_ 6 #define BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_
7 7
8 #include <stddef.h>
9
8 #include <cstddef> 10 #include <cstddef>
9 #include <string> 11 #include <string>
10 12
11 #include "base/basictypes.h"
12 #include "base/callback.h" 13 #include "base/callback.h"
13 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
15 #include "base/run_loop.h" 17 #include "base/run_loop.h"
16 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
17 #include "base/threading/sequenced_worker_pool.h" 19 #include "base/threading/sequenced_worker_pool.h"
18 20
19 namespace base { 21 namespace base {
20 22
21 class MessageLoop; 23 class MessageLoop;
22 24
23 // Wrapper around SequencedWorkerPool for testing that blocks destruction 25 // Wrapper around SequencedWorkerPool for testing that blocks destruction
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 62
61 mutable Lock has_work_lock_; 63 mutable Lock has_work_lock_;
62 int has_work_call_count_; 64 int has_work_call_count_;
63 65
64 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPoolOwner); 66 DISALLOW_COPY_AND_ASSIGN(SequencedWorkerPoolOwner);
65 }; 67 };
66 68
67 } // namespace base 69 } // namespace base
68 70
69 #endif // BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_ 71 #endif // BASE_TEST_SEQUENCED_WORKER_POOL_OWNER_H_
OLDNEW
« no previous file with comments | « base/test/sequenced_task_runner_test_template.h ('k') | base/test/task_runner_test_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698