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

Side by Side Diff: content/renderer/media/media_stream_dispatcher_unittest.cc

Issue 10912004: Begin adding support for tab mirroring via the MediaStream audio/video capturing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
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 <string> 5 #include <string>
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "content/common/media/media_stream_messages.h" 10 #include "content/common/media/media_stream_messages.h"
11 #include "content/public/common/media_stream_request.h"
11 #include "content/renderer/media/media_stream_dispatcher.h" 12 #include "content/renderer/media/media_stream_dispatcher.h"
12 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" 13 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h"
13 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace { 17 namespace {
17 18
18 const int kRouteId = 0; 19 const int kRouteId = 0;
19 const int kAudioSessionId = 3; 20 const int kAudioSessionId = 3;
20 const int kVideoSessionId = 5; 21 const int kVideoSessionId = 5;
21 const int kRequestId1 = 10; 22 const int kRequestId1 = 10;
22 const int kRequestId2 = 20; 23 const int kRequestId2 = 20;
23 const int kRequestId3 = 30; 24 const int kRequestId3 = 30;
24 const int kRequestId4 = 40; 25 const int kRequestId4 = 40;
25 static const char kLabel[] = "test"; 26 static const char kLabel[] = "test";
26 27
28 const content::MediaStreamDeviceType kAudioType =
29 content::MEDIA_DEVICE_AUDIO_CAPTURE;
30 const content::MediaStreamDeviceType kVideoType =
31 content::MEDIA_DEVICE_VIDEO_CAPTURE;
32 const content::MediaStreamDeviceType kNoAudioType =
33 content::MEDIA_NO_SERVICE;
34
27 class MockMediaStreamDispatcherEventHandler 35 class MockMediaStreamDispatcherEventHandler
28 : public MediaStreamDispatcherEventHandler, 36 : public MediaStreamDispatcherEventHandler,
29 public base::SupportsWeakPtr<MockMediaStreamDispatcherEventHandler> { 37 public base::SupportsWeakPtr<MockMediaStreamDispatcherEventHandler> {
30 public: 38 public:
31 MockMediaStreamDispatcherEventHandler() 39 MockMediaStreamDispatcherEventHandler()
32 : request_id_(-1), 40 : request_id_(-1),
33 audio_failed(false), 41 audio_failed(false),
34 video_failed(false) {} 42 video_failed(false) {}
35 43
36 virtual void OnStreamGenerated( 44 virtual void OnStreamGenerated(
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 components, security_origin); 109 components, security_origin);
102 int ipc_request_id2 = dispatcher->next_ipc_id_; 110 int ipc_request_id2 = dispatcher->next_ipc_id_;
103 EXPECT_NE(ipc_request_id1, ipc_request_id2); 111 EXPECT_NE(ipc_request_id1, ipc_request_id2);
104 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(), 112 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(),
105 components, security_origin); 113 components, security_origin);
106 EXPECT_EQ(dispatcher->requests_.size(), size_t(2)); 114 EXPECT_EQ(dispatcher->requests_.size(), size_t(2));
107 115
108 media_stream::StreamDeviceInfoArray audio_device_array(1); 116 media_stream::StreamDeviceInfoArray audio_device_array(1);
109 media_stream::StreamDeviceInfo audio_device_info; 117 media_stream::StreamDeviceInfo audio_device_info;
110 audio_device_info.name = "Microphone"; 118 audio_device_info.name = "Microphone";
111 audio_device_info.stream_type = 119 audio_device_info.stream_type = kAudioType;
112 content::MEDIA_STREAM_DEVICE_TYPE_AUDIO_CAPTURE;
113 audio_device_info.session_id = kAudioSessionId; 120 audio_device_info.session_id = kAudioSessionId;
114 audio_device_array[0] = audio_device_info; 121 audio_device_array[0] = audio_device_info;
115 122
116 media_stream::StreamDeviceInfoArray video_device_array(1); 123 media_stream::StreamDeviceInfoArray video_device_array(1);
117 media_stream::StreamDeviceInfo video_device_info; 124 media_stream::StreamDeviceInfo video_device_info;
118 video_device_info.name = "Camera"; 125 video_device_info.name = "Camera";
119 video_device_info.stream_type = 126 video_device_info.stream_type = kVideoType;
120 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE;
121 video_device_info.session_id = kVideoSessionId; 127 video_device_info.session_id = kVideoSessionId;
122 video_device_array[0] = video_device_info; 128 video_device_array[0] = video_device_info;
123 129
124 // Complete the creation of stream1. 130 // Complete the creation of stream1.
125 std::string stream_label1 = std::string("stream1"); 131 std::string stream_label1 = std::string("stream1");
126 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated( 132 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
127 kRouteId, ipc_request_id1, stream_label1, 133 kRouteId, ipc_request_id1, stream_label1,
128 audio_device_array, video_device_array)); 134 audio_device_array, video_device_array));
129 EXPECT_EQ(handler->request_id_, kRequestId1); 135 EXPECT_EQ(handler->request_id_, kRequestId1);
130 EXPECT_EQ(handler->label_, stream_label1); 136 EXPECT_EQ(handler->label_, stream_label1);
(...skipping 21 matching lines...) Expand all
152 media_stream::StreamDeviceInfo::kNoId); 158 media_stream::StreamDeviceInfo::kNoId);
153 159
154 // Stop stream1. 160 // Stop stream1.
155 dispatcher->StopStream(stream_label1); 161 dispatcher->StopStream(stream_label1);
156 EXPECT_EQ(dispatcher->audio_session_id(stream_label1, 0), 162 EXPECT_EQ(dispatcher->audio_session_id(stream_label1, 0),
157 media_stream::StreamDeviceInfo::kNoId); 163 media_stream::StreamDeviceInfo::kNoId);
158 EXPECT_EQ(dispatcher->video_session_id(stream_label1, 0), 164 EXPECT_EQ(dispatcher->video_session_id(stream_label1, 0),
159 media_stream::StreamDeviceInfo::kNoId); 165 media_stream::StreamDeviceInfo::kNoId);
160 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0)); 166 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0));
161 167
162 // Verify that the request have been completed. 168 // Verify that the request has been completed.
163 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0)); 169 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0));
164 EXPECT_EQ(dispatcher->requests_.size(), size_t(0)); 170 EXPECT_EQ(dispatcher->requests_.size(), size_t(0));
165 } 171 }
172
173 TEST(MediaStreamDispatcherTest, BasicStreamForDevice) {
174 static const char kDeviceId[] = "/dev/video0";
175
176 scoped_ptr<MessageLoop> message_loop(new MessageLoop());
177 scoped_ptr<MediaStreamDispatcher> dispatcher(new MediaStreamDispatcher(NULL));
178 scoped_ptr<MockMediaStreamDispatcherEventHandler>
179 handler(new MockMediaStreamDispatcherEventHandler);
180 media_stream::StreamOptions components(kNoAudioType, kVideoType);
181 GURL security_origin;
182
183 int ipc_request_id1 = dispatcher->next_ipc_id_;
184 dispatcher->GenerateStreamForDevice(kRequestId1, handler.get()->AsWeakPtr(),
185 components, kDeviceId, security_origin);
186 int ipc_request_id2 = dispatcher->next_ipc_id_;
187 EXPECT_NE(ipc_request_id1, ipc_request_id2);
188 dispatcher->GenerateStreamForDevice(kRequestId2, handler.get()->AsWeakPtr(),
189 components, kDeviceId, security_origin);
190 EXPECT_EQ(dispatcher->requests_.size(), size_t(2));
191
192 // No audio requested.
193 media_stream::StreamDeviceInfoArray audio_device_array;
194
195 media_stream::StreamDeviceInfoArray video_device_array(1);
196 media_stream::StreamDeviceInfo video_device_info;
197 video_device_info.name = "Fake Video Capture Device";
198 video_device_info.stream_type = kVideoType;
199 video_device_info.session_id = kVideoSessionId;
200 video_device_array[0] = video_device_info;
201
202 // Complete the creation of stream1.
203 std::string stream_label1 = std::string("stream1");
204 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
205 kRouteId, ipc_request_id1, stream_label1,
206 audio_device_array, video_device_array));
207 EXPECT_EQ(handler->request_id_, kRequestId1);
208 EXPECT_EQ(handler->label_, stream_label1);
209
210 // Complete the creation of stream2.
211 std::string stream_label2 = std::string("stream2");
212 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
213 kRouteId, ipc_request_id2, stream_label2,
214 audio_device_array, video_device_array));
215 EXPECT_EQ(handler->request_id_, kRequestId2);
216 EXPECT_EQ(handler->label_, stream_label2);
217
218 EXPECT_EQ(dispatcher->requests_.size(), size_t(0));
219 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(2));
220
221 // Check the session_id of stream2.
222 EXPECT_EQ(dispatcher->video_session_id(stream_label2, 0), kVideoSessionId);
223
224 // Stop stream2.
225 dispatcher->StopStream(stream_label2);
226 EXPECT_EQ(dispatcher->audio_session_id(stream_label2, 0),
227 media_stream::StreamDeviceInfo::kNoId);
228 EXPECT_EQ(dispatcher->video_session_id(stream_label2, 0),
229 media_stream::StreamDeviceInfo::kNoId);
230
231 // Stop stream1.
232 dispatcher->StopStream(stream_label1);
233 EXPECT_EQ(dispatcher->audio_session_id(stream_label1, 0),
234 media_stream::StreamDeviceInfo::kNoId);
235 EXPECT_EQ(dispatcher->video_session_id(stream_label1, 0),
236 media_stream::StreamDeviceInfo::kNoId);
237 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0));
238
239 // Verify that the request has been completed.
240 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0));
241 EXPECT_EQ(dispatcher->requests_.size(), size_t(0));
242 }
166 243
167 TEST(MediaStreamDispatcherTest, BasicVideoDevice) { 244 TEST(MediaStreamDispatcherTest, BasicVideoDevice) {
168 scoped_ptr<MessageLoop> message_loop(new MessageLoop()); 245 scoped_ptr<MessageLoop> message_loop(new MessageLoop());
169 scoped_ptr<MediaStreamDispatcher> dispatcher(new MediaStreamDispatcher(NULL)); 246 scoped_ptr<MediaStreamDispatcher> dispatcher(new MediaStreamDispatcher(NULL));
170 scoped_ptr<MockMediaStreamDispatcherEventHandler> 247 scoped_ptr<MockMediaStreamDispatcherEventHandler>
171 handler1(new MockMediaStreamDispatcherEventHandler); 248 handler1(new MockMediaStreamDispatcherEventHandler);
172 scoped_ptr<MockMediaStreamDispatcherEventHandler> 249 scoped_ptr<MockMediaStreamDispatcherEventHandler>
173 handler2(new MockMediaStreamDispatcherEventHandler); 250 handler2(new MockMediaStreamDispatcherEventHandler);
174 GURL security_origin; 251 GURL security_origin;
175 252
176 int ipc_request_id1 = dispatcher->next_ipc_id_; 253 int ipc_request_id1 = dispatcher->next_ipc_id_;
177 dispatcher->EnumerateDevices(kRequestId1, handler1.get()->AsWeakPtr(), 254 dispatcher->EnumerateDevices(
178 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE, 255 kRequestId1, handler1.get()->AsWeakPtr(),
179 security_origin); 256 kVideoType,
257 security_origin);
180 int ipc_request_id2 = dispatcher->next_ipc_id_; 258 int ipc_request_id2 = dispatcher->next_ipc_id_;
181 EXPECT_NE(ipc_request_id1, ipc_request_id2); 259 EXPECT_NE(ipc_request_id1, ipc_request_id2);
182 dispatcher->EnumerateDevices(kRequestId2, handler2.get()->AsWeakPtr(), 260 dispatcher->EnumerateDevices(
183 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE, 261 kRequestId2, handler2.get()->AsWeakPtr(),
184 security_origin); 262 kVideoType,
263 security_origin);
185 EXPECT_EQ(dispatcher->video_enumeration_state_.requests.size(), size_t(2)); 264 EXPECT_EQ(dispatcher->video_enumeration_state_.requests.size(), size_t(2));
186 265
187 media_stream::StreamDeviceInfoArray video_device_array(1); 266 media_stream::StreamDeviceInfoArray video_device_array(1);
188 media_stream::StreamDeviceInfo video_device_info; 267 media_stream::StreamDeviceInfo video_device_info;
189 video_device_info.name = "Camera"; 268 video_device_info.name = "Camera";
190 video_device_info.device_id = "device_path"; 269 video_device_info.device_id = "device_path";
191 video_device_info.stream_type = 270 video_device_info.stream_type = kVideoType;
192 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE;
193 video_device_info.session_id = kVideoSessionId; 271 video_device_info.session_id = kVideoSessionId;
194 video_device_array[0] = video_device_info; 272 video_device_array[0] = video_device_info;
195 273
196 // Complete the enumeration request and all requesters should receive reply. 274 // Complete the enumeration request and all requesters should receive reply.
197 dispatcher->OnMessageReceived(MediaStreamMsg_DevicesEnumerated( 275 dispatcher->OnMessageReceived(MediaStreamMsg_DevicesEnumerated(
198 kRouteId, ipc_request_id1, kLabel, video_device_array)); 276 kRouteId, ipc_request_id1, kLabel, video_device_array));
199 EXPECT_EQ(handler1->request_id_, kRequestId1); 277 EXPECT_EQ(handler1->request_id_, kRequestId1);
200 EXPECT_EQ(handler2->request_id_, kRequestId2); 278 EXPECT_EQ(handler2->request_id_, kRequestId2);
201 279
202 EXPECT_EQ(dispatcher->video_enumeration_state_.requests.size(), size_t(2)); 280 EXPECT_EQ(dispatcher->video_enumeration_state_.requests.size(), size_t(2));
203 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0)); 281 EXPECT_EQ(dispatcher->label_stream_map_.size(), size_t(0));
204 282
205 int ipc_request_id3 = dispatcher->next_ipc_id_; 283 int ipc_request_id3 = dispatcher->next_ipc_id_;
206 dispatcher->OpenDevice(kRequestId3, handler1.get()->AsWeakPtr(), 284 dispatcher->OpenDevice(kRequestId3, handler1.get()->AsWeakPtr(),
207 video_device_info.device_id, 285 video_device_info.device_id,
208 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE, 286 kVideoType,
209 security_origin); 287 security_origin);
210 int ipc_request_id4 = dispatcher->next_ipc_id_; 288 int ipc_request_id4 = dispatcher->next_ipc_id_;
211 EXPECT_NE(ipc_request_id3, ipc_request_id4); 289 EXPECT_NE(ipc_request_id3, ipc_request_id4);
212 dispatcher->OpenDevice(kRequestId4, handler1.get()->AsWeakPtr(), 290 dispatcher->OpenDevice(kRequestId4, handler1.get()->AsWeakPtr(),
213 video_device_info.device_id, 291 video_device_info.device_id,
214 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE, 292 kVideoType,
215 security_origin); 293 security_origin);
216 EXPECT_EQ(dispatcher->requests_.size(), size_t(2)); 294 EXPECT_EQ(dispatcher->requests_.size(), size_t(2));
217 295
218 // Complete the OpenDevice of request 1. 296 // Complete the OpenDevice of request 1.
219 std::string stream_label1 = std::string("stream1"); 297 std::string stream_label1 = std::string("stream1");
220 dispatcher->OnMessageReceived(MediaStreamMsg_DeviceOpened( 298 dispatcher->OnMessageReceived(MediaStreamMsg_DeviceOpened(
221 kRouteId, ipc_request_id3, stream_label1, video_device_info)); 299 kRouteId, ipc_request_id3, stream_label1, video_device_info));
222 EXPECT_EQ(handler1->request_id_, kRequestId3); 300 EXPECT_EQ(handler1->request_id_, kRequestId3);
223 301
224 // Complete the OpenDevice of request 2. 302 // Complete the OpenDevice of request 2.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 EXPECT_EQ(dispatcher->requests_.size(), size_t(0)); 348 EXPECT_EQ(dispatcher->requests_.size(), size_t(0));
271 349
272 // Create a new stream. 350 // Create a new stream.
273 ipc_request_id1 = dispatcher->next_ipc_id_; 351 ipc_request_id1 = dispatcher->next_ipc_id_;
274 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(), 352 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(),
275 components, security_origin); 353 components, security_origin);
276 354
277 media_stream::StreamDeviceInfoArray audio_device_array(1); 355 media_stream::StreamDeviceInfoArray audio_device_array(1);
278 media_stream::StreamDeviceInfo audio_device_info; 356 media_stream::StreamDeviceInfo audio_device_info;
279 audio_device_info.name = "Microphone"; 357 audio_device_info.name = "Microphone";
280 audio_device_info.stream_type = 358 audio_device_info.stream_type = kAudioType;
281 content::MEDIA_STREAM_DEVICE_TYPE_AUDIO_CAPTURE;
282 audio_device_info.session_id = kAudioSessionId; 359 audio_device_info.session_id = kAudioSessionId;
283 audio_device_array[0] = audio_device_info; 360 audio_device_array[0] = audio_device_info;
284 361
285 media_stream::StreamDeviceInfoArray video_device_array(1); 362 media_stream::StreamDeviceInfoArray video_device_array(1);
286 media_stream::StreamDeviceInfo video_device_info; 363 media_stream::StreamDeviceInfo video_device_info;
287 video_device_info.name = "Camera"; 364 video_device_info.name = "Camera";
288 video_device_info.stream_type = 365 video_device_info.stream_type = kVideoType;
289 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE;
290 video_device_info.session_id = kVideoSessionId; 366 video_device_info.session_id = kVideoSessionId;
291 video_device_array[0] = video_device_info; 367 video_device_array[0] = video_device_info;
292 368
293 // Complete the creation of stream1. 369 // Complete the creation of stream1.
294 std::string stream_label1 = std::string("stream1"); 370 std::string stream_label1 = std::string("stream1");
295 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated( 371 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
296 kRouteId, ipc_request_id1, stream_label1, 372 kRouteId, ipc_request_id1, stream_label1,
297 audio_device_array, video_device_array)); 373 audio_device_array, video_device_array));
298 EXPECT_EQ(handler->request_id_, kRequestId1); 374 EXPECT_EQ(handler->request_id_, kRequestId1);
299 EXPECT_EQ(handler->label_, stream_label1); 375 EXPECT_EQ(handler->label_, stream_label1);
(...skipping 30 matching lines...) Expand all
330 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(), 406 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(),
331 components, GURL()); 407 components, GURL());
332 408
333 EXPECT_EQ(2u, dispatcher->requests_.size()); 409 EXPECT_EQ(2u, dispatcher->requests_.size());
334 dispatcher->CancelGenerateStream(kRequestId2); 410 dispatcher->CancelGenerateStream(kRequestId2);
335 EXPECT_EQ(1u, dispatcher->requests_.size()); 411 EXPECT_EQ(1u, dispatcher->requests_.size());
336 412
337 // Complete the creation of stream1. 413 // Complete the creation of stream1.
338 media_stream::StreamDeviceInfo audio_device_info; 414 media_stream::StreamDeviceInfo audio_device_info;
339 audio_device_info.name = "Microphone"; 415 audio_device_info.name = "Microphone";
340 audio_device_info.stream_type = 416 audio_device_info.stream_type = kAudioType;
341 content::MEDIA_STREAM_DEVICE_TYPE_AUDIO_CAPTURE;
342 audio_device_info.session_id = kAudioSessionId; 417 audio_device_info.session_id = kAudioSessionId;
343 media_stream::StreamDeviceInfoArray audio_device_array(1); 418 media_stream::StreamDeviceInfoArray audio_device_array(1);
344 audio_device_array[0] = audio_device_info; 419 audio_device_array[0] = audio_device_info;
345 420
346 media_stream::StreamDeviceInfo video_device_info; 421 media_stream::StreamDeviceInfo video_device_info;
347 video_device_info.name = "Camera"; 422 video_device_info.name = "Camera";
348 video_device_info.stream_type = 423 video_device_info.stream_type = kVideoType;
349 content::MEDIA_STREAM_DEVICE_TYPE_VIDEO_CAPTURE;
350 video_device_info.session_id = kVideoSessionId; 424 video_device_info.session_id = kVideoSessionId;
351 media_stream::StreamDeviceInfoArray video_device_array(1); 425 media_stream::StreamDeviceInfoArray video_device_array(1);
352 video_device_array[0] = video_device_info; 426 video_device_array[0] = video_device_info;
353 427
354 std::string stream_label1 = "stream1"; 428 std::string stream_label1 = "stream1";
355 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated( 429 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
356 kRouteId, ipc_request_id1, stream_label1, 430 kRouteId, ipc_request_id1, stream_label1,
357 audio_device_array, video_device_array)); 431 audio_device_array, video_device_array));
358 EXPECT_EQ(handler->request_id_, kRequestId1); 432 EXPECT_EQ(handler->request_id_, kRequestId1);
359 EXPECT_EQ(handler->label_, stream_label1); 433 EXPECT_EQ(handler->label_, stream_label1);
360 EXPECT_EQ(0u, dispatcher->requests_.size()); 434 EXPECT_EQ(0u, dispatcher->requests_.size());
361 } 435 }
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dispatcher.cc ('k') | content/renderer/media/mock_media_stream_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698