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

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

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> Created 5 years 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
« no previous file with comments | « remoting/host/backoff_timer.cc ('k') | remoting/host/cast_extension_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « remoting/host/backoff_timer.cc ('k') | remoting/host/cast_extension_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698