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

Side by Side Diff: media/cast/transport/cast_transport_defines.h

Issue 138753004: Cast: IPC glue between cast library transport and encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 6 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ 5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
7 7
8 #include <list>
9 #include <map> 8 #include <map>
10 #include <set> 9 #include <set>
11 #include <string> 10 #include <string>
12 11
13 #include "base/basictypes.h" 12 #include "base/basictypes.h"
14 #include "base/time/time.h" 13 #include "base/time/time.h"
15 14
16 namespace media { 15 namespace media {
17 namespace cast { 16 namespace cast {
18 namespace transport { 17 namespace transport {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 base::TimeDelta recorded_delta = time_ticks - zero_time; 136 base::TimeDelta recorded_delta = time_ticks - zero_time;
138 // Timestamp is in 90 KHz for video. 137 // Timestamp is in 90 KHz for video.
139 return static_cast<uint32>(recorded_delta.InMilliseconds() * 90); 138 return static_cast<uint32>(recorded_delta.InMilliseconds() * 90);
140 } 139 }
141 140
142 } // namespace transport 141 } // namespace transport
143 } // namespace cast 142 } // namespace cast
144 } // namespace media 143 } // namespace media
145 144
146 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ 145 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_config.cc ('k') | media/cast/transport/cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698