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

Unified Diff: chrome/browser/renderer_host/audio_renderer_host_unittest.cc

Issue 357004: SetVolume and GetVolume take one volume instead of separate left and right vo... (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
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/audio_renderer_host_unittest.cc
===================================================================
--- chrome/browser/renderer_host/audio_renderer_host_unittest.cc (revision 30948)
+++ chrome/browser/renderer_host/audio_renderer_host_unittest.cc (working copy)
@@ -49,8 +49,8 @@
void(int routing_id, int stream_id,
ViewMsg_AudioStreamState state));
- MOCK_METHOD4(OnStreamVolume,
- void(int routing_id, int stream_id, double left, double right));
+ MOCK_METHOD3(OnStreamVolume,
+ void(int routing_id, int stream_id, double volume));
base::SharedMemory* shared_memory() { return shared_memory_.get(); }
@@ -101,9 +101,8 @@
OnStreamStateChanged(msg.routing_id(), stream_id, state);
}
- void OnStreamVolume(const IPC::Message& msg, int stream_id,
- double left, double right) {
- OnStreamVolume(msg.routing_id(), stream_id, left, right);
+ void OnStreamVolume(const IPC::Message& msg, int stream_id, double volume) {
+ OnStreamVolume(msg.routing_id(), stream_id, volume);
}
scoped_ptr<base::SharedMemory> shared_memory_;
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698