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 #include "content/renderer/media/mock_media_stream_dispatcher.h" | 5 #include "content/renderer/media/mock_media_stream_dispatcher.h" |
6 | 6 |
7 #include "base/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "content/public/common/media_stream_request.h" | 8 #include "content/public/common/media_stream_request.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 MockMediaStreamDispatcher::MockMediaStreamDispatcher() | 13 MockMediaStreamDispatcher::MockMediaStreamDispatcher() |
14 : MediaStreamDispatcher(NULL), | 14 : MediaStreamDispatcher(NULL), |
15 request_id_(-1), | 15 request_id_(-1), |
16 request_stream_counter_(0), | 16 request_stream_counter_(0), |
17 stop_stream_counter_(0) { | 17 stop_stream_counter_(0) { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 int index) { | 65 int index) { |
66 return -1; | 66 return -1; |
67 } | 67 } |
68 | 68 |
69 int MockMediaStreamDispatcher::audio_session_id(const std::string& label, | 69 int MockMediaStreamDispatcher::audio_session_id(const std::string& label, |
70 int index) { | 70 int index) { |
71 return -1; | 71 return -1; |
72 } | 72 } |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
OLD | NEW |