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

Side by Side Diff: content/renderer/media/media_stream_impl.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 | « chrome/chrome_renderer.gypi ('k') | content/renderer/render_view_impl.h » ('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 CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "webkit/glue/media/media_stream_client.h" 10 #include "webkit/media/media_stream_client.h"
11 11
12 class VideoCaptureImplManager; 12 class VideoCaptureImplManager;
13 13
14 // A implementation of StreamClient to provide supporting functions, such as 14 // A implementation of StreamClient to provide supporting functions, such as
15 // GetVideoDecoder. 15 // GetVideoDecoder.
16 class MediaStreamImpl 16 class MediaStreamImpl
17 : public webkit_glue::MediaStreamClient, 17 : public webkit_media::MediaStreamClient,
18 public base::RefCountedThreadSafe<MediaStreamImpl> { 18 public base::RefCountedThreadSafe<MediaStreamImpl> {
19 public: 19 public:
20 explicit MediaStreamImpl(VideoCaptureImplManager* vc_manager); 20 explicit MediaStreamImpl(VideoCaptureImplManager* vc_manager);
21 virtual ~MediaStreamImpl(); 21 virtual ~MediaStreamImpl();
22 22
23 // Implement webkit_glue::StreamClient. 23 // Implement webkit_media::StreamClient.
24 virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder( 24 virtual scoped_refptr<media::VideoDecoder> GetVideoDecoder(
25 const GURL& url, media::MessageLoopFactory* message_loop_factory); 25 const GURL& url, media::MessageLoopFactory* message_loop_factory);
26 26
27 private: 27 private:
28 scoped_refptr<VideoCaptureImplManager> vc_manager_; 28 scoped_refptr<VideoCaptureImplManager> vc_manager_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl); 30 DISALLOW_COPY_AND_ASSIGN(MediaStreamImpl);
31 }; 31 };
32 32
33 #endif // CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_ 33 #endif // CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698