Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: remoting/host/cast_extension.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698