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

Side by Side Diff: webkit/media/web_data_source_factory.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/web_data_source.cc ('k') | webkit/media/web_data_source_factory.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_BUFFERED_DATA_SOURCE_FACTORY_H_ 5 #ifndef WEBKIT_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
6 #define WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_ 6 #define WEBKIT_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "media/base/async_filter_factory_base.h" 9 #include "media/base/async_filter_factory_base.h"
10 #include "webkit/glue/media/web_data_source.h" 10 #include "webkit/media/web_data_source.h"
11 11
12 class MessageLoop; 12 class MessageLoop;
13 13
14 namespace media { 14 namespace media {
15 class MediaLog; 15 class MediaLog;
16 } 16 }
17 17
18 namespace WebKit { 18 namespace WebKit {
19 class WebFrame; 19 class WebFrame;
20 } 20 }
21 21
22 namespace webkit_glue { 22 namespace webkit_media {
23 23
24 class WebDataSourceFactory : public media::AsyncDataSourceFactoryBase { 24 class WebDataSourceFactory : public media::AsyncDataSourceFactoryBase {
25 public: 25 public:
26 typedef WebDataSource* (*FactoryFunction)(MessageLoop* render_loop, 26 typedef WebDataSource* (*FactoryFunction)(MessageLoop* render_loop,
27 WebKit::WebFrame* frame, 27 WebKit::WebFrame* frame,
28 media::MediaLog* media_log); 28 media::MediaLog* media_log);
29 29
30 WebDataSourceFactory(MessageLoop* render_loop, WebKit::WebFrame* frame, 30 WebDataSourceFactory(MessageLoop* render_loop, WebKit::WebFrame* frame,
31 media::MediaLog* media_log, 31 media::MediaLog* media_log,
32 FactoryFunction factory_function, 32 FactoryFunction factory_function,
(...skipping 14 matching lines...) Expand all
47 47
48 MessageLoop* render_loop_; 48 MessageLoop* render_loop_;
49 WebKit::WebFrame* frame_; 49 WebKit::WebFrame* frame_;
50 scoped_refptr<media::MediaLog> media_log_; 50 scoped_refptr<media::MediaLog> media_log_;
51 FactoryFunction factory_function_; 51 FactoryFunction factory_function_;
52 WebDataSourceBuildObserverHack build_observer_; 52 WebDataSourceBuildObserverHack build_observer_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(WebDataSourceFactory); 54 DISALLOW_COPY_AND_ASSIGN(WebDataSourceFactory);
55 }; 55 };
56 56
57 } // namespace webkit_glue 57 } // namespace webkit_media
58 58
59 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_ 59 #endif // WEBKIT_MEDIA_BUFFERED_DATA_SOURCE_FACTORY_H_
OLDNEW
« no previous file with comments | « webkit/media/web_data_source.cc ('k') | webkit/media/web_data_source_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698