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

Unified Diff: media/audio/audio_output_ipc.h

Issue 11359196: Associate audio streams with their source/destination RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased; and numerous clean-ups. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: media/audio/audio_output_ipc.h
diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h
index 8543cdc170eb73139ece7ce5b004f3e9405f5e4e..45ef59a445ad25d09142a3c01cd95a1f307ca037 100644
--- a/media/audio/audio_output_ipc.h
+++ b/media/audio/audio_output_ipc.h
@@ -5,6 +5,7 @@
#ifndef MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_
#define MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_
+#include "base/memory/weak_ptr.h"
#include "base/shared_memory.h"
#include "base/sync_socket.h"
#include "media/audio/audio_parameters.h"
@@ -55,7 +56,8 @@ class MEDIA_EXPORT AudioOutputIPCDelegate {
// should asynchronously deliver the messages to an AudioOutputController object
// (or create one in the case of CreateStream()), that may live in a separate
// process.
-class MEDIA_EXPORT AudioOutputIPC {
+class MEDIA_EXPORT AudioOutputIPC
+ : public base::SupportsWeakPtr<AudioOutputIPC> {
scherkus (not reviewing) 2012/11/27 22:55:26 Ahh! What was the motivation for this change? I d
miu 2012/11/28 07:26:20 Reverted the changes to this file. I had meant to
public:
// Registers an AudioOutputIPCDelegate and returns a |stream_id| that must
// be used with all other IPC functions in this interface.
« media/audio/audio_output_device.h ('K') | « media/audio/audio_output_device_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698