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

Side by Side Diff: webkit/media/webmediaplayer_util.h

Issue 13866046: Change original WebMediaPlayer signatures from float to double. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « webkit/media/webmediaplayer_ms.cc ('k') | webkit/media/webmediaplayer_util.cc » ('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 WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_
6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_ 6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 9
10 namespace webkit_media { 10 namespace webkit_media {
11 11
12 // Platform independent method for converting and rounding floating point 12 // Platform independent method for converting and rounding floating point
13 // seconds to an int64 timestamp. 13 // seconds to an int64 timestamp.
14 // 14 //
15 // Refer to https://bugs.webkit.org/show_bug.cgi?id=52697 for details. 15 // Refer to https://bugs.webkit.org/show_bug.cgi?id=52697 for details.
16 base::TimeDelta ConvertSecondsToTimestamp(float seconds); 16 base::TimeDelta ConvertSecondsToTimestamp(double seconds);
17 17
18 } // namespace webkit_media 18 } // namespace webkit_media
19 19
20 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_ 20 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/media/webmediaplayer_ms.cc ('k') | webkit/media/webmediaplayer_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698