| 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 "remoting/host/cast_extension.h" | 5 #include "remoting/host/cast_extension.h" |
| 6 | 6 |
| 7 #include "net/url_request/url_request_context_getter.h" | 7 #include "net/url_request/url_request_context_getter.h" |
| 8 #include "remoting/host/cast_extension_session.h" | 8 #include "remoting/host/cast_extension_session.h" |
| 9 #include "remoting/protocol/network_settings.h" | 9 #include "remoting/protocol/network_settings.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 return kCapability; | 28 return kCapability; |
| 29 } | 29 } |
| 30 | 30 |
| 31 scoped_ptr<HostExtensionSession> CastExtension::CreateExtensionSession( | 31 scoped_ptr<HostExtensionSession> CastExtension::CreateExtensionSession( |
| 32 ClientSessionControl* client_session_control, | 32 ClientSessionControl* client_session_control, |
| 33 protocol::ClientStub* client_stub) { | 33 protocol::ClientStub* client_stub) { |
| 34 return CastExtensionSession::Create(network_task_runner_, | 34 return CastExtensionSession::Create(network_task_runner_, |
| 35 url_request_context_getter_, | 35 url_request_context_getter_, |
| 36 network_settings_, | 36 network_settings_, |
| 37 client_session_control, | 37 client_session_control, |
| 38 client_stub) | 38 client_stub).Pass(); |
| 39 .PassAs<HostExtensionSession>(); | |
| 40 } | 39 } |
| 41 | 40 |
| 42 } // namespace remoting | 41 } // namespace remoting |
| 43 | 42 |
| OLD | NEW |