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

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

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/chromoting_host_context.h ('k') | remoting/host/ipc_event_executor.h » ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 IPC::PlatformFileForTransit desktop_pipe; 114 IPC::PlatformFileForTransit desktop_pipe;
115 if (!desktop_agent_->Start(AsWeakPtr(), &desktop_pipe)) { 115 if (!desktop_agent_->Start(AsWeakPtr(), &desktop_pipe)) {
116 desktop_agent_ = NULL; 116 desktop_agent_ = NULL;
117 caller_task_runner_ = NULL; 117 caller_task_runner_ = NULL;
118 return false; 118 return false;
119 } 119 }
120 120
121 // Connect to the daemon. 121 // Connect to the daemon.
122 daemon_channel_.reset(new IPC::ChannelProxy(daemon_channel_name_, 122 daemon_channel_.reset(new IPC::ChannelProxy(daemon_channel_name_,
123 IPC::Channel::MODE_CLIENT, 123 IPC::Channel::MODE_CLIENT,
124 this, 124 this, io_task_runner));
125 io_task_runner));
126 125
127 // Pass |desktop_pipe| to the daemon. 126 // Pass |desktop_pipe| to the daemon.
128 daemon_channel_->Send( 127 daemon_channel_->Send(
129 new ChromotingDesktopDaemonMsg_DesktopAttached(desktop_pipe)); 128 new ChromotingDesktopDaemonMsg_DesktopAttached(desktop_pipe));
130 129
131 return true; 130 return true;
132 } 131 }
133 132
134 void DesktopProcess::OnCrash(const std::string& function_name, 133 void DesktopProcess::OnCrash(const std::string& function_name,
135 const std::string& file_name, 134 const std::string& file_name,
136 const int& line_number) { 135 const int& line_number) {
137 // The daemon requested us to crash the process. 136 // The daemon requested us to crash the process.
138 CHECK(false); 137 CHECK(false);
139 } 138 }
140 139
141 } // namespace remoting 140 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_context.h ('k') | remoting/host/ipc_event_executor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698