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

Side by Side Diff: content/renderer/media/mock_media_stream_video_source.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_
7 7
8 #include "content/renderer/media/media_stream_video_source.h" 8 #include "content/renderer/media/media_stream_video_source.h"
9 9
10 #include "base/macros.h"
10 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 class MockMediaStreamVideoSource : public MediaStreamVideoSource { 15 class MockMediaStreamVideoSource : public MediaStreamVideoSource {
15 public: 16 public:
16 explicit MockMediaStreamVideoSource(bool manual_get_supported_formats); 17 explicit MockMediaStreamVideoSource(bool manual_get_supported_formats);
17 virtual ~MockMediaStreamVideoSource(); 18 virtual ~MockMediaStreamVideoSource();
18 19
19 MOCK_METHOD1(DoSetMutedState, void(bool muted_state)); 20 MOCK_METHOD1(DoSetMutedState, void(bool muted_state));
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool attempted_to_start_; 73 bool attempted_to_start_;
73 VideoCaptureDeviceFormatsCB formats_callback_; 74 VideoCaptureDeviceFormatsCB formats_callback_;
74 VideoCaptureDeliverFrameCB frame_callback_; 75 VideoCaptureDeliverFrameCB frame_callback_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamVideoSource); 77 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamVideoSource);
77 }; 78 };
78 79
79 } // namespace content 80 } // namespace content
80 81
81 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_ 82 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SOURCE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/mock_media_stream_dispatcher.h ('k') | content/renderer/media/mock_peer_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698