| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/web_test_interfaces.h" | 5 #include "components/test_runner/web_test_interfaces.h" |
| 6 | 6 |
| 7 #include "content/shell/renderer/test_runner/app_banner_client.h" | 7 #include "components/test_runner/app_banner_client.h" |
| 8 #include "content/shell/renderer/test_runner/mock_web_audio_device.h" | 8 #include "components/test_runner/mock_web_audio_device.h" |
| 9 #include "content/shell/renderer/test_runner/mock_web_media_stream_center.h" | 9 #include "components/test_runner/mock_web_media_stream_center.h" |
| 10 #include "content/shell/renderer/test_runner/mock_web_midi_accessor.h" | 10 #include "components/test_runner/mock_web_midi_accessor.h" |
| 11 #include "content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler
.h" | 11 #include "components/test_runner/mock_webrtc_peer_connection_handler.h" |
| 12 #include "content/shell/renderer/test_runner/test_interfaces.h" | 12 #include "components/test_runner/test_interfaces.h" |
| 13 #include "content/shell/renderer/test_runner/test_runner.h" | 13 #include "components/test_runner/test_runner.h" |
| 14 | 14 |
| 15 using namespace blink; | 15 using namespace blink; |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 WebTestInterfaces::WebTestInterfaces() : interfaces_(new TestInterfaces()) { | 19 WebTestInterfaces::WebTestInterfaces() : interfaces_(new TestInterfaces()) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 WebTestInterfaces::~WebTestInterfaces() { | 22 WebTestInterfaces::~WebTestInterfaces() { |
| 23 } | 23 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } | 80 } |
| 81 | 81 |
| 82 scoped_ptr<blink::WebAppBannerClient> | 82 scoped_ptr<blink::WebAppBannerClient> |
| 83 WebTestInterfaces::CreateAppBannerClient() { | 83 WebTestInterfaces::CreateAppBannerClient() { |
| 84 scoped_ptr<AppBannerClient> client(new AppBannerClient); | 84 scoped_ptr<AppBannerClient> client(new AppBannerClient); |
| 85 interfaces_->SetAppBannerClient(client.get()); | 85 interfaces_->SetAppBannerClient(client.get()); |
| 86 return client.Pass(); | 86 return client.Pass(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace content | 89 } // namespace content |
| OLD | NEW |