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

Unified Diff: content/renderer/media/audio_device.h

Issue 9965076: Revert 130180 - Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_device.h
===================================================================
--- content/renderer/media/audio_device.h (revision 130181)
+++ content/renderer/media/audio_device.h (working copy)
@@ -76,10 +76,6 @@
#include "media/audio/audio_parameters.h"
#include "media/base/audio_renderer_sink.h"
-namespace media {
-class AudioParameters;
-}
-
class CONTENT_EXPORT AudioDevice
: NON_EXPORTED_BASE(public media::AudioRendererSink),
public AudioMessageFilter::Delegate,
@@ -90,11 +86,11 @@
// Minimal constructor where Initialize() must be called later.
AudioDevice();
- AudioDevice(const media::AudioParameters& params, RenderCallback* callback);
+ AudioDevice(const AudioParameters& params, RenderCallback* callback);
// AudioRendererSink implementation.
- virtual void Initialize(const media::AudioParameters& params,
+ virtual void Initialize(const AudioParameters& params,
RenderCallback* callback) OVERRIDE;
// Starts audio playback.
virtual void Start() OVERRIDE;
@@ -136,7 +132,7 @@
// The following methods are tasks posted on the IO thread that needs to
// be executed on that thread. They interact with AudioMessageFilter and
// sends IPC messages on that thread.
- void InitializeOnIOThread(const media::AudioParameters& params);
+ void InitializeOnIOThread(const AudioParameters& params);
void PlayOnIOThread();
void PauseOnIOThread(bool flush);
void ShutDownOnIOThread();
@@ -148,7 +144,7 @@
// If the IO loop dies before we do, we shut down the audio thread from here.
virtual void WillDestroyCurrentMessageLoop() OVERRIDE;
- media::AudioParameters audio_parameters_;
+ AudioParameters audio_parameters_;
RenderCallback* callback_;
« no previous file with comments | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698