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

Unified Diff: remoting/host/chromoting_host.cc

Issue 12879006: Removed task runners from the DesktopEnviroment interface and introduced ScreenControls/ClientSessio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index c9579b9cb94bb454c8f1dbcfd7f48dc880a2a32c..0a465c432c863373e884ad4929e8269243a992fc 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -142,7 +142,7 @@ void ChromotingHost::Shutdown(const base::Closure& shutdown_task) {
// Disconnect all of the clients.
while (!clients_.empty()) {
- clients_.front()->Disconnect();
+ clients_.front()->DisconnectSession();
}
// Run the remaining shutdown tasks.
@@ -193,7 +193,7 @@ void ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
while (it != clients_.end()) {
ClientSession* other_client = *it++;
if (other_client != client)
- other_client->Disconnect();
+ other_client->DisconnectSession();
}
// Disconnects above must have destroyed all other clients.
@@ -210,7 +210,7 @@ void ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
authenticating_client_ = false;
if (reject_authenticating_client_) {
- client->Disconnect();
+ client->DisconnectSession();
}
}
@@ -339,7 +339,7 @@ void ChromotingHost::OnLocalMouseMoved(const SkIPoint& new_pos) {
ClientList::iterator client;
for (client = clients_.begin(); client != clients_.end(); ++client) {
- (*client)->LocalMouseMoved(new_pos);
+ (*client)->OnLocalMouseMoved(new_pos);
}
}
@@ -365,7 +365,7 @@ void ChromotingHost::DisconnectAllClients() {
while (!clients_.empty()) {
size_t size = clients_.size();
- clients_.front()->Disconnect();
+ clients_.front()->DisconnectSession();
CHECK_EQ(clients_.size(), size - 1);
}
}
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698