OLD | NEW |
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_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "content/renderer/media/media_stream_dispatcher.h" | 11 #include "content/renderer/media/media_stream_dispatcher.h" |
11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 // This class is a mock implementation of MediaStreamDispatcher. | 16 // This class is a mock implementation of MediaStreamDispatcher. |
16 class MockMediaStreamDispatcher : public MediaStreamDispatcher { | 17 class MockMediaStreamDispatcher : public MediaStreamDispatcher { |
17 public: | 18 public: |
18 MockMediaStreamDispatcher(); | 19 MockMediaStreamDispatcher(); |
19 ~MockMediaStreamDispatcher() override; | 20 ~MockMediaStreamDispatcher() override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 StreamDeviceInfoArray audio_input_array_; | 74 StreamDeviceInfoArray audio_input_array_; |
74 StreamDeviceInfoArray audio_output_array_; | 75 StreamDeviceInfoArray audio_output_array_; |
75 StreamDeviceInfoArray video_array_; | 76 StreamDeviceInfoArray video_array_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDispatcher); | 78 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDispatcher); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace content | 81 } // namespace content |
81 | 82 |
82 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ | 83 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DISPATCHER_H_ |
OLD | NEW |