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

Side by Side Diff: media/cast/test/skewed_single_thread_task_runner.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_ 5 #ifndef MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_
6 #define MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_ 6 #define MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h"
11 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
12 #include "base/test/simple_test_tick_clock.h" 11 #include "base/test/simple_test_tick_clock.h"
13 #include "base/test/test_pending_task.h" 12 #include "base/test/test_pending_task.h"
14 13
15 namespace media { 14 namespace media {
16 namespace cast { 15 namespace cast {
17 namespace test { 16 namespace test {
18 17
19 // This class wraps a SingleThreadTaskRunner, and allows you to scale 18 // This class wraps a SingleThreadTaskRunner, and allows you to scale
20 // the delay for any posted task by a factor. The factor is changed by 19 // the delay for any posted task by a factor. The factor is changed by
(...skipping 27 matching lines...) Expand all
48 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 47 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
49 48
50 DISALLOW_COPY_AND_ASSIGN(SkewedSingleThreadTaskRunner); 49 DISALLOW_COPY_AND_ASSIGN(SkewedSingleThreadTaskRunner);
51 }; 50 };
52 51
53 } // namespace test 52 } // namespace test
54 } // namespace cast 53 } // namespace cast
55 } // namespace media 54 } // namespace media
56 55
57 #endif // MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_ 56 #endif // MEDIA_CAST_TEST_SKEWED_TASK_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698