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

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

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/chromoting_host_unittest.cc ('k') | remoting/host/desktop_session_agent_posix.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file implements the Windows service controlling Me2Me host processes 5 // This file implements the Windows service controlling Me2Me host processes
6 // running within user sessions. 6 // running within user sessions.
7 7
8 #include "remoting/host/desktop_process.h" 8 #include "remoting/host/desktop_process.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 base::Unretained(this)), 84 base::Unretained(this)),
85 &desktop_pipe)) { 85 &desktop_pipe)) {
86 desktop_agent_.reset(); 86 desktop_agent_.reset();
87 return false; 87 return false;
88 } 88 }
89 89
90 // Connect to the daemon. 90 // Connect to the daemon.
91 daemon_channel_.reset(new IPC::ChannelProxy(daemon_channel_name_, 91 daemon_channel_.reset(new IPC::ChannelProxy(daemon_channel_name_,
92 IPC::Channel::MODE_CLIENT, 92 IPC::Channel::MODE_CLIENT,
93 this, 93 this,
94 io_task_runner)); 94 io_task_runner.get()));
95 95
96 // Pass |desktop_pipe| to the daemon. 96 // Pass |desktop_pipe| to the daemon.
97 daemon_channel_->Send( 97 daemon_channel_->Send(
98 new ChromotingDesktopDaemonMsg_DesktopAttached(desktop_pipe)); 98 new ChromotingDesktopDaemonMsg_DesktopAttached(desktop_pipe));
99 99
100 return true; 100 return true;
101 } 101 }
102 102
103 void DesktopProcess::OnCrash(const std::string& function_name, 103 void DesktopProcess::OnCrash(const std::string& function_name,
104 const std::string& file_name, 104 const std::string& file_name,
105 const int& line_number) { 105 const int& line_number) {
106 // The daemon requested us to crash the process. 106 // The daemon requested us to crash the process.
107 CHECK(false); 107 CHECK(false);
108 } 108 }
109 109
110 } // namespace remoting 110 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/desktop_session_agent_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698