| 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 13 matching lines...) Expand all Loading... |
| 24 CastExtension::~CastExtension() { | 24 CastExtension::~CastExtension() { |
| 25 } | 25 } |
| 26 | 26 |
| 27 std::string CastExtension::capability() const { | 27 std::string CastExtension::capability() const { |
| 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( |
| 35 url_request_context_getter_, | 35 network_task_runner_, url_request_context_getter_, network_settings_, |
| 36 network_settings_, | 36 client_session_control, client_stub); |
| 37 client_session_control, | |
| 38 client_stub).Pass(); | |
| 39 } | 37 } |
| 40 | 38 |
| 41 } // namespace remoting | 39 } // namespace remoting |
| 42 | 40 |
| OLD | NEW |