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

Unified Diff: chrome/browser/renderer_host/audio_renderer_host.h

Issue 354002: Sixth patch in getting rid of caching MessageLoop pointers. Audio and automa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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: chrome/browser/renderer_host/audio_renderer_host.h
===================================================================
--- chrome/browser/renderer_host/audio_renderer_host.h (revision 30691)
+++ chrome/browser/renderer_host/audio_renderer_host.h (working copy)
@@ -80,7 +80,6 @@
#include "testing/gtest/include/gtest/gtest_prod.h"
class AudioManager;
-class MessageLoop;
struct ViewHostMsg_Audio_CreateStream;
class AudioRendererHost : public base::RefCountedThreadSafe<AudioRendererHost> {
@@ -88,7 +87,7 @@
class IPCAudioSource;
public:
// Called from UI thread from the owner of this object.
- explicit AudioRendererHost(MessageLoop* message_loop);
+ AudioRendererHost();
// Destruction can happen on either UI thread or IO thread, but at destruction
// all associated sources are destroyed and streams are closed.
@@ -340,8 +339,6 @@
// and stream id. Returns NULL if not found.
IPCAudioSource* Lookup(int render_view_id, int stream_id);
- MessageLoop* io_loop() { return io_loop_; }
-
int process_id_;
base::ProcessHandle process_handle_;
IPC::Message::Sender* ipc_sender_;
@@ -351,8 +348,6 @@
typedef std::map<SourceID, IPCAudioSource*> SourceMap;
SourceMap sources_;
- MessageLoop* io_loop_;
-
DISALLOW_COPY_AND_ASSIGN(AudioRendererHost);
};
« no previous file with comments | « chrome/browser/automation/automation_resource_message_filter.cc ('k') | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698