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

Side by Side Diff: media/base/wall_clock_time_source.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
« no previous file with comments | « media/base/video_renderer.h ('k') | media/blink/active_loader.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 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_BASE_WALL_CLOCK_TIME_SOURCE_H_ 5 #ifndef MEDIA_BASE_WALL_CLOCK_TIME_SOURCE_H_
6 #define MEDIA_BASE_WALL_CLOCK_TIME_SOURCE_H_ 6 #define MEDIA_BASE_WALL_CLOCK_TIME_SOURCE_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
10 #include "base/time/default_tick_clock.h" 11 #include "base/time/default_tick_clock.h"
11 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
12 #include "media/base/time_source.h" 13 #include "media/base/time_source.h"
13 14
14 namespace media { 15 namespace media {
15 16
16 // A time source that uses interpolation based on the system clock. 17 // A time source that uses interpolation based on the system clock.
17 class MEDIA_EXPORT WallClockTimeSource : public TimeSource { 18 class MEDIA_EXPORT WallClockTimeSource : public TimeSource {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // TODO(scherkus): Remove internal locking from this class after access to 55 // TODO(scherkus): Remove internal locking from this class after access to
55 // Renderer::CurrentMediaTime() is single threaded http://crbug.com/370634 56 // Renderer::CurrentMediaTime() is single threaded http://crbug.com/370634
56 base::Lock lock_; 57 base::Lock lock_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(WallClockTimeSource); 59 DISALLOW_COPY_AND_ASSIGN(WallClockTimeSource);
59 }; 60 };
60 61
61 } // namespace media 62 } // namespace media
62 63
63 #endif // MEDIA_BASE_WALL_CLOCK_TIME_SOURCE_H_ 64 #endif // MEDIA_BASE_WALL_CLOCK_TIME_SOURCE_H_
OLDNEW
« no previous file with comments | « media/base/video_renderer.h ('k') | media/blink/active_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698