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

Side by Side Diff: content/browser/renderer_host/media/mock_media_observer.h

Issue 10168008: Show camera and microphone status indicators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated the media_stream_dispatcher_unittest Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 MOCK_METHOD2(OnDeleteAudioStream, 21 MOCK_METHOD2(OnDeleteAudioStream,
22 void(void* host, int stream_id)); 22 void(void* host, int stream_id));
23 MOCK_METHOD3(OnSetAudioStreamPlaying, 23 MOCK_METHOD3(OnSetAudioStreamPlaying,
24 void(void* host, int stream_id, bool playing)); 24 void(void* host, int stream_id, bool playing));
25 MOCK_METHOD3(OnSetAudioStreamStatus, 25 MOCK_METHOD3(OnSetAudioStreamStatus,
26 void(void* host, int stream_id, const std::string& status)); 26 void(void* host, int stream_id, const std::string& status));
27 MOCK_METHOD3(OnSetAudioStreamVolume, 27 MOCK_METHOD3(OnSetAudioStreamVolume,
28 void(void* host, int stream_id, double volume)); 28 void(void* host, int stream_id, double volume));
29 MOCK_METHOD2(OnMediaEvent, 29 MOCK_METHOD2(OnMediaEvent,
30 void(int source, const media::MediaLogEvent& event)); 30 void(int source, const media::MediaLogEvent& event));
31 MOCK_METHOD3(OnCaptureDevicesOpened,
32 void(int render_process_id, int render_view_id,
33 const content::MediaStreamDevices& devices));
34 MOCK_METHOD3(OnCaptureDevicesClosed,
35 void(int render_process_id, int render_view_id,
36 const content::MediaStreamDevices& devices));
31 }; 37 };
32 38
33 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_ 39 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/public/browser/media_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698