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

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

Issue 10928043: Media Related changes for TabCapture API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename REQUEST_*->MEDIA_REQUEST_* Created 8 years, 2 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 15 matching lines...) Expand all
26 MOCK_METHOD3(OnSetAudioStreamVolume, 26 MOCK_METHOD3(OnSetAudioStreamVolume,
27 void(void* host, int stream_id, double volume)); 27 void(void* host, int stream_id, double volume));
28 MOCK_METHOD2(OnMediaEvent, 28 MOCK_METHOD2(OnMediaEvent,
29 void(int source, const media::MediaLogEvent& event)); 29 void(int source, const media::MediaLogEvent& event));
30 MOCK_METHOD3(OnCaptureDevicesOpened, 30 MOCK_METHOD3(OnCaptureDevicesOpened,
31 void(int render_process_id, int render_view_id, 31 void(int render_process_id, int render_view_id,
32 const content::MediaStreamDevices& devices)); 32 const content::MediaStreamDevices& devices));
33 MOCK_METHOD3(OnCaptureDevicesClosed, 33 MOCK_METHOD3(OnCaptureDevicesClosed,
34 void(int render_process_id, int render_view_id, 34 void(int render_process_id, int render_view_id,
35 const content::MediaStreamDevices& devices)); 35 const content::MediaStreamDevices& devices));
36 MOCK_METHOD4(OnMediaRequestStateChanged,
37 void(int render_process_id, int render_view_id,
38 const content::MediaStreamDevice& device,
39 const content::MediaRequestState state));
36 }; 40 };
37 41
38 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_ 42 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MOCK_MEDIA_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698