OLD | NEW |
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 #include "content/shell/renderer/test_runner/mock_web_user_media_client.h" | 5 #include "components/test_runner/mock_web_user_media_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/shell/renderer/test_runner/mock_constraints.h" | 9 #include "components/test_runner/mock_constraints.h" |
10 #include "content/shell/renderer/test_runner/web_test_delegate.h" | 10 #include "components/test_runner/web_test_delegate.h" |
11 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 11 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
12 #include "third_party/WebKit/public/platform/WebMediaDeviceInfo.h" | 12 #include "third_party/WebKit/public/platform/WebMediaDeviceInfo.h" |
13 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 13 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
16 #include "third_party/WebKit/public/platform/WebMediaStreamTrackSourcesRequest.h
" | 16 #include "third_party/WebKit/public/platform/WebMediaStreamTrackSourcesRequest.h
" |
17 #include "third_party/WebKit/public/platform/WebSourceInfo.h" | 17 #include "third_party/WebKit/public/platform/WebSourceInfo.h" |
18 #include "third_party/WebKit/public/platform/WebVector.h" | 18 #include "third_party/WebKit/public/platform/WebVector.h" |
19 #include "third_party/WebKit/public/web/WebDocument.h" | 19 #include "third_party/WebKit/public/web/WebDocument.h" |
20 #include "third_party/WebKit/public/web/WebMediaDevicesRequest.h" | 20 #include "third_party/WebKit/public/web/WebMediaDevicesRequest.h" |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 sources[i].initialize(WebString::fromUTF8(test_sources[i].id), | 266 sources[i].initialize(WebString::fromUTF8(test_sources[i].id), |
267 test_sources[i].kind, | 267 test_sources[i].kind, |
268 WebString::fromUTF8(test_sources[i].label), | 268 WebString::fromUTF8(test_sources[i].label), |
269 test_sources[i].facing); | 269 test_sources[i].facing); |
270 } | 270 } |
271 | 271 |
272 delegate_->PostTask(new SourcesRequestTask(this, request, sources)); | 272 delegate_->PostTask(new SourcesRequestTask(this, request, sources)); |
273 } | 273 } |
274 | 274 |
275 } // namespace content | 275 } // namespace content |
OLD | NEW |