From 7a2ca7c6215d918a02ed2d5576668406a25c103b Mon Sep 17 00:00:00 2001 From: "mallinath@webrtc.org" Date: Wed, 15 Jan 2014 19:00:13 +0000 Subject: [PATCH] Update needed to MockScreenCapturer after new methods addition to webrtc::ScreenCapturer. This change is also must for rolling webrtc in chrome. R=jiayl@webrtc.org TBR=sergeyu@chromium.org Review URL: https://webrtc-codereview.appspot.com/7219004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5389 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/desktop_capture/screen_capturer_mock_objects.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h index 17673b5cc0..aa0e808eb6 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h +++ b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h @@ -26,6 +26,8 @@ class MockScreenCapturer : public ScreenCapturer { MOCK_METHOD1(Capture, void(const DesktopRegion& region)); MOCK_METHOD1(SetMouseShapeObserver, void( MouseShapeObserver* mouse_shape_observer)); + MOCK_METHOD1(GetScreenList, bool(ScreenList* screens)); + MOCK_METHOD1(SelectScreen, bool(ScreenId id)); private: DISALLOW_COPY_AND_ASSIGN(MockScreenCapturer);