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

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

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes Created 9 years, 1 month 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/video_renderer_impl.cc ('k') | webkit/media/web_data_source.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GLUE_MEDIA_WEB_DATA_SOURCE_H_ 5 #ifndef WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
6 #define WEBKIT_GLUE_MEDIA_WEB_DATA_SOURCE_H_ 6 #define WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "media/base/filters.h" 9 #include "media/base/filters.h"
10 #include "media/base/pipeline_status.h" 10 #include "media/base/pipeline_status.h"
11 11
12 namespace webkit_glue { 12 namespace webkit_media {
13 13
14 // An interface that allows WebMediaPlayerImpl::Proxy to communicate with the 14 // An interface that allows WebMediaPlayerImpl::Proxy to communicate with the
15 // DataSource in the pipeline. 15 // DataSource in the pipeline.
16 class WebDataSource : public media::DataSource { 16 class WebDataSource : public media::DataSource {
17 public: 17 public:
18 WebDataSource(); 18 WebDataSource();
19 virtual ~WebDataSource(); 19 virtual ~WebDataSource();
20 20
21 // Initialize this object using |url|. This object calls |callback| when 21 // Initialize this object using |url|. This object calls |callback| when
22 // initialization has completed. 22 // initialization has completed.
(...skipping 24 matching lines...) Expand all
47 47
48 // Temporary hack to allow WebMediaPlayerImpl::Proxy::AddDataSource() to 48 // Temporary hack to allow WebMediaPlayerImpl::Proxy::AddDataSource() to
49 // be called when WebDataSource objects are created. This can be removed 49 // be called when WebDataSource objects are created. This can be removed
50 // once WebMediaPlayerImpl::Proxy is fixed so it doesn't have to track 50 // once WebMediaPlayerImpl::Proxy is fixed so it doesn't have to track
51 // WebDataSources. Proxy only has to track WebDataSources so it can call Abort() 51 // WebDataSources. Proxy only has to track WebDataSources so it can call Abort()
52 // on them at shutdown. Once cancellation is added to DataSource and pause 52 // on them at shutdown. Once cancellation is added to DataSource and pause
53 // support in Demuxers cancel pending reads, Proxy shouldn't have to keep 53 // support in Demuxers cancel pending reads, Proxy shouldn't have to keep
54 // a WebDataSource list or call Abort(). 54 // a WebDataSource list or call Abort().
55 typedef base::Callback<void(WebDataSource*)> WebDataSourceBuildObserverHack; 55 typedef base::Callback<void(WebDataSource*)> WebDataSourceBuildObserverHack;
56 56
57 } // namespace webkit_glue 57 } // namespace webkit_media
58 58
59 #endif // WEBKIT_GLUE_MEDIA_WEB_DATA_SOURCE_H_ 59 #endif // WEBKIT_MEDIA_WEB_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « webkit/media/video_renderer_impl.cc ('k') | webkit/media/web_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698