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

Side by Side Diff: media/base/android/media_source_player.h

Issue 23787002: Rename MediaPlayerHostMsg_{DemuxerReady,ReadFromDemuxerAck}_Params to Media{Configs,Data}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 | « media/base/android/media_player_android.cc ('k') | media/base/android/media_source_player.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual int GetVideoWidth() OVERRIDE; 51 virtual int GetVideoWidth() OVERRIDE;
52 virtual int GetVideoHeight() OVERRIDE; 52 virtual int GetVideoHeight() OVERRIDE;
53 virtual base::TimeDelta GetCurrentTime() OVERRIDE; 53 virtual base::TimeDelta GetCurrentTime() OVERRIDE;
54 virtual base::TimeDelta GetDuration() OVERRIDE; 54 virtual base::TimeDelta GetDuration() OVERRIDE;
55 virtual bool IsPlaying() OVERRIDE; 55 virtual bool IsPlaying() OVERRIDE;
56 virtual bool CanPause() OVERRIDE; 56 virtual bool CanPause() OVERRIDE;
57 virtual bool CanSeekForward() OVERRIDE; 57 virtual bool CanSeekForward() OVERRIDE;
58 virtual bool CanSeekBackward() OVERRIDE; 58 virtual bool CanSeekBackward() OVERRIDE;
59 virtual bool IsPlayerReady() OVERRIDE; 59 virtual bool IsPlayerReady() OVERRIDE;
60 virtual void OnSeekRequestAck(unsigned seek_request_id) OVERRIDE; 60 virtual void OnSeekRequestAck(unsigned seek_request_id) OVERRIDE;
61 virtual void DemuxerReady( 61 virtual void DemuxerReady(const DemuxerConfigs& configs) OVERRIDE;
62 const MediaPlayerHostMsg_DemuxerReady_Params& params) OVERRIDE; 62 virtual void ReadFromDemuxerAck(const DemuxerData& data) OVERRIDE;
63 virtual void ReadFromDemuxerAck(
64 const MediaPlayerHostMsg_ReadFromDemuxerAck_Params& params) OVERRIDE;
65 virtual void DurationChanged(const base::TimeDelta& duration) OVERRIDE; 63 virtual void DurationChanged(const base::TimeDelta& duration) OVERRIDE;
66 virtual void SetDrmBridge(MediaDrmBridge* drm_bridge) OVERRIDE; 64 virtual void SetDrmBridge(MediaDrmBridge* drm_bridge) OVERRIDE;
67 65
68 private: 66 private:
69 // Update the current timestamp. 67 // Update the current timestamp.
70 void UpdateTimestamps(const base::TimeDelta& presentation_timestamp, 68 void UpdateTimestamps(const base::TimeDelta& presentation_timestamp,
71 size_t audio_output_bytes); 69 size_t audio_output_bytes);
72 70
73 // Helper function for starting media playback. 71 // Helper function for starting media playback.
74 void StartInternal(); 72 void StartInternal();
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 199
202 MediaDrmBridge* drm_bridge_; 200 MediaDrmBridge* drm_bridge_;
203 201
204 friend class MediaSourcePlayerTest; 202 friend class MediaSourcePlayerTest;
205 DISALLOW_COPY_AND_ASSIGN(MediaSourcePlayer); 203 DISALLOW_COPY_AND_ASSIGN(MediaSourcePlayer);
206 }; 204 };
207 205
208 } // namespace media 206 } // namespace media
209 207
210 #endif // MEDIA_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_ 208 #endif // MEDIA_BASE_ANDROID_MEDIA_SOURCE_PLAYER_H_
OLDNEW
« no previous file with comments | « media/base/android/media_player_android.cc ('k') | media/base/android/media_source_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698