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

Unified Diff: remoting/host/daemon_process.cc

Issue 11028128: [Chromoting] Request the daemon to open a terminal once a connection has been accepted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feeback and rebased on top of https://chromiumcodereview.appspot.com/11017065/ Created 8 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/daemon_process.cc
diff --git a/remoting/host/daemon_process.cc b/remoting/host/daemon_process.cc
index 3e1607519e7444842a51a068f7c4a24a21d49725..de9858fb7f72d3a03fe5e4ba4c048ec761c7f1f4 100644
--- a/remoting/host/daemon_process.cc
+++ b/remoting/host/daemon_process.cc
@@ -38,7 +38,7 @@ void DaemonProcess::OnChannelConnected() {
DeleteAllDesktopSessions();
- // Reset the last known desktop session ID because no IDs have been allocated
+ // Reset the last known terminal ID because no IDs have been allocated
// by the the newly started process yet.
next_terminal_id_ = 0;
@@ -86,7 +86,7 @@ void DaemonProcess::CloseDesktopSession(int terminal_id) {
}
}
- // It is OK if the desktop session ID wasn't found. There is a race between
+ // It is OK if the terminal ID wasn't found. There is a race between
// the network and daemon processes. Each frees its own recources first and
// notifies the other party if there was something to clean up.
if (i == desktop_sessions_.end())

Powered by Google App Engine
This is Rietveld 408576698