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

Unified Diff: media/audio/audio_output_proxy.h

Issue 8818012: Remove the AudioManager singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Set svn eol properties for a couple of files Created 9 years 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 | « media/audio/audio_output_dispatcher.cc ('k') | media/audio/audio_output_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_proxy.h
===================================================================
--- media/audio/audio_output_proxy.h (revision 114012)
+++ media/audio/audio_output_proxy.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_PROXY_H_
-#define MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_PROXY_H_
+#ifndef MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_
+#define MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_
#include "base/basictypes.h"
#include "base/task.h"
@@ -23,7 +23,7 @@
class MEDIA_EXPORT AudioOutputProxy : public AudioOutputStream {
public:
// Caller keeps ownership of |dispatcher|.
- AudioOutputProxy(AudioOutputDispatcher* dispatcher);
+ explicit AudioOutputProxy(AudioOutputDispatcher* dispatcher);
// AudioOutputStream interface.
virtual bool Open() OVERRIDE;
@@ -34,9 +34,6 @@
virtual void Close() OVERRIDE;
private:
- // Needs to access destructor.
- friend class DeleteTask<AudioOutputProxy>;
-
enum State {
kCreated,
kOpened,
@@ -61,4 +58,4 @@
DISALLOW_COPY_AND_ASSIGN(AudioOutputProxy);
};
-#endif // MEDIA_AUDIO_AUDIO_OUTPUT_STREAM_PROXY_H_
+#endif // MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_
« no previous file with comments | « media/audio/audio_output_dispatcher.cc ('k') | media/audio/audio_output_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698