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