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

Side by Side Diff: base/test/test_simple_task_runner.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 5 years 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/test_reg_util_win.cc ('k') | base/test/test_suite.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_TEST_SIMPLE_TASK_RUNNER_H_ 5 #ifndef BASE_TEST_TEST_SIMPLE_TASK_RUNNER_H_
6 #define BASE_TEST_TEST_SIMPLE_TASK_RUNNER_H_ 6 #define BASE_TEST_TEST_SIMPLE_TASK_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/test/test_pending_task.h" 13 #include "base/test/test_pending_task.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 15
16 namespace base { 16 namespace base {
17 17
18 class TimeDelta; 18 class TimeDelta;
19 19
20 // TestSimpleTaskRunner is a simple TaskRunner implementation that can 20 // TestSimpleTaskRunner is a simple TaskRunner implementation that can
21 // be used for testing. It implements SingleThreadTaskRunner as that 21 // be used for testing. It implements SingleThreadTaskRunner as that
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 std::deque<TestPendingTask> pending_tasks_; 76 std::deque<TestPendingTask> pending_tasks_;
77 ThreadChecker thread_checker_; 77 ThreadChecker thread_checker_;
78 78
79 private: 79 private:
80 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner); 80 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
81 }; 81 };
82 82
83 } // namespace base 83 } // namespace base
84 84
85 #endif // BASE_TEST_TEST_SIMPLE_TASK_RUNNER_H_ 85 #endif // BASE_TEST_TEST_SIMPLE_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « base/test/test_reg_util_win.cc ('k') | base/test/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698