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

Unified Diff: trunk/src/media/video/capture/mock_video_capture_event_handler.h

Issue 135683002: Revert 244074 "Eliminate video capture thread in renderer" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/media/media.gyp ('k') | trunk/src/media/video/capture/mock_video_capture_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/video/capture/mock_video_capture_event_handler.h
===================================================================
--- trunk/src/media/video/capture/mock_video_capture_event_handler.h (revision 244357)
+++ trunk/src/media/video/capture/mock_video_capture_event_handler.h (working copy)
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_EVENT_HANDLER_H_
-#define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_EVENT_HANDLER_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "media/video/capture/video_capture.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace media {
-
-class MockVideoCaptureEventHandler : public VideoCapture::EventHandler {
- public:
- MockVideoCaptureEventHandler();
- virtual ~MockVideoCaptureEventHandler();
-
- // EventHandler implementation.
- MOCK_METHOD1(OnStarted, void(VideoCapture* capture));
- MOCK_METHOD1(OnStopped, void(VideoCapture* capture));
- MOCK_METHOD1(OnPaused, void(VideoCapture* capture));
- MOCK_METHOD2(OnError, void(VideoCapture* capture, int error_code));
- MOCK_METHOD1(OnRemoved, void(VideoCapture* capture));
- MOCK_METHOD2(OnFrameReady,
- void(VideoCapture* capture,
- const scoped_refptr<VideoFrame>& frame));
- MOCK_METHOD2(OnDeviceInfoReceived,
- void(VideoCapture* capture,
- const VideoCaptureFormat& device_info));
-};
-
-} // namespace media
-
-#endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_EVENT_HANDLER_H_
« no previous file with comments | « trunk/src/media/media.gyp ('k') | trunk/src/media/video/capture/mock_video_capture_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698