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

Side by Side Diff: content/renderer/media/android/media_source_delegate.h

Issue 17502007: Move webkit/renderer/media/android/ to content/renderer/media/android/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix shared lib Created 7 years, 6 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
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 WEBKIT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_
6 #define WEBKIT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "media/base/decryptor.h" 13 #include "media/base/decryptor.h"
14 #include "media/base/demuxer.h" 14 #include "media/base/demuxer.h"
15 #include "media/base/media_keys.h" 15 #include "media/base/media_keys.h"
16 #include "media/base/pipeline_status.h" 16 #include "media/base/pipeline_status.h"
17 #include "media/base/ranges.h" 17 #include "media/base/ranges.h"
18 #include "media/base/text_track.h" 18 #include "media/base/text_track.h"
19 #include "third_party/WebKit/public/web/WebMediaPlayer.h" 19 #include "third_party/WebKit/public/web/WebMediaPlayer.h"
20 20
21 namespace media { 21 namespace media {
22 class ChunkDemuxer; 22 class ChunkDemuxer;
23 class DecoderBuffer; 23 class DecoderBuffer;
24 class DemuxerStream; 24 class DemuxerStream;
25 class MediaLog; 25 class MediaLog;
26 struct MediaPlayerHostMsg_ReadFromDemuxerAck_Params; 26 struct MediaPlayerHostMsg_ReadFromDemuxerAck_Params;
27 } 27 }
28 28
29 namespace webkit_media { 29 namespace content {
30 30
31 class ProxyDecryptor;
32 class WebMediaPlayerProxyAndroid; 31 class WebMediaPlayerProxyAndroid;
33 32
34 class MediaSourceDelegate : public media::DemuxerHost { 33 class MediaSourceDelegate : public media::DemuxerHost {
35 public: 34 public:
36 typedef base::Callback<void(WebKit::WebMediaPlayer::NetworkState)> 35 typedef base::Callback<void(WebKit::WebMediaPlayer::NetworkState)>
37 UpdateNetworkStateCB; 36 UpdateNetworkStateCB;
38 typedef base::Callback<void(const base::TimeDelta&)> DurationChangeCB; 37 typedef base::Callback<void(const base::TimeDelta&)> DurationChangeCB;
39 38
40 // Helper class used by scoped_ptr to destroy an instance of 39 // Helper class used by scoped_ptr to destroy an instance of
41 // MediaSourceDelegate. 40 // MediaSourceDelegate.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 scoped_ptr<media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params> audio_params_; 156 scoped_ptr<media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params> audio_params_;
158 scoped_ptr<media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params> video_params_; 157 scoped_ptr<media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params> video_params_;
159 158
160 bool seeking_; 159 bool seeking_;
161 bool key_added_; 160 bool key_added_;
162 size_t access_unit_size_; 161 size_t access_unit_size_;
163 162
164 DISALLOW_COPY_AND_ASSIGN(MediaSourceDelegate); 163 DISALLOW_COPY_AND_ASSIGN(MediaSourceDelegate);
165 }; 164 };
166 165
167 } // namespace webkit_media 166 } // namespace content
168 #endif // WEBKIT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_ 167
168 #endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_SOURCE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/media_info_loader_unittest.cc ('k') | content/renderer/media/android/media_source_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698