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

Side by Side Diff: content/public/renderer/media_stream_audio_renderer.h

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delegates Created 7 years, 5 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_MEDIA_STREAM_AUDIO_RENDERER_H_ 5 #ifndef CONTENT_RENDERER_PUBLIC_MEDIA_STREAM_AUDIO_RENDERER_H_
6 #define WEBKIT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_RENDERER_H_ 6 #define CONTENT_RENDERER_PUBLIC_MEDIA_STREAM_AUDIO_RENDERER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 10
11 namespace webkit_media { 11 namespace content {
12 12
13 class MediaStreamAudioRenderer 13 class MediaStreamAudioRenderer
scherkus (not reviewing) 2013/06/28 06:04:41 FYI now a public content interface
14 : public base::RefCountedThreadSafe<MediaStreamAudioRenderer> { 14 : public base::RefCountedThreadSafe<MediaStreamAudioRenderer> {
15 public: 15 public:
16 // Starts rendering audio. 16 // Starts rendering audio.
17 virtual void Start() = 0; 17 virtual void Start() = 0;
18 18
19 // Stops rendering audio. 19 // Stops rendering audio.
20 virtual void Stop() = 0; 20 virtual void Stop() = 0;
21 21
22 // Resumes rendering audio after being paused. 22 // Resumes rendering audio after being paused.
23 virtual void Play() = 0; 23 virtual void Play() = 0;
(...skipping 16 matching lines...) Expand all
40 protected: 40 protected:
41 friend class base::RefCountedThreadSafe<MediaStreamAudioRenderer>; 41 friend class base::RefCountedThreadSafe<MediaStreamAudioRenderer>;
42 42
43 MediaStreamAudioRenderer(); 43 MediaStreamAudioRenderer();
44 virtual ~MediaStreamAudioRenderer(); 44 virtual ~MediaStreamAudioRenderer();
45 45
46 private: 46 private:
47 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioRenderer); 47 DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioRenderer);
48 }; 48 };
49 49
50 } // namespace webkit_media 50 } // namespace content
51 51
52 #endif // WEBKIT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_RENDERER_H_ 52 #endif // CONTENT_RENDERER_PUBLIC_MEDIA_STREAM_AUDIO_RENDERER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698