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

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

Issue 1535193003: Add missing macros includes in media/. (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
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 CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H 5 #ifndef CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H
6 #define CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H 6 #define CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H
7 7
8 #include "base/macros.h"
8 #include "base/time/tick_clock.h" 9 #include "base/time/tick_clock.h"
9 #include "base/time/time.h" 10 #include "base/time/time.h"
10 11
11 namespace media { 12 namespace media {
12 namespace cast { 13 namespace cast {
13 namespace test { 14 namespace test {
14 15
15 // Wraps a base::TickClock, and lets you change the speed and offset 16 // Wraps a base::TickClock, and lets you change the speed and offset
16 // of time compared to the wrapped clock. See SetSkew for how usage. 17 // of time compared to the wrapped clock. See SetSkew for how usage.
17 class SkewedTickClock : public base::TickClock { 18 class SkewedTickClock : public base::TickClock {
(...skipping 17 matching lines...) Expand all
35 base::TimeTicks skew_clock_at_last_set_; 36 base::TimeTicks skew_clock_at_last_set_;
36 37
37 DISALLOW_COPY_AND_ASSIGN(SkewedTickClock); 38 DISALLOW_COPY_AND_ASSIGN(SkewedTickClock);
38 }; 39 };
39 40
40 } // namespace test 41 } // namespace test
41 } // namespace cast 42 } // namespace cast
42 } // namespace media 43 } // namespace media
43 44
44 #endif // CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H 45 #endif // CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H
OLDNEW
« no previous file with comments | « media/cast/test/skewed_single_thread_task_runner.h ('k') | media/cast/test/utility/audio_utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698