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

Unified Diff: trunk/src/remoting/host/chromoting_host.cc

Issue 308743006: Revert 273652 "Host extensions" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 | « trunk/src/remoting/host/chromoting_host.h ('k') | trunk/src/remoting/host/client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/host/chromoting_host.cc
===================================================================
--- trunk/src/remoting/host/chromoting_host.cc (revision 273673)
+++ trunk/src/remoting/host/chromoting_host.cc (working copy)
@@ -141,10 +141,6 @@
status_observers_.RemoveObserver(observer);
}
-void ChromotingHost::AddExtension(scoped_ptr<HostExtension> extension) {
- extensions_.push_back(extension.release());
-}
-
void ChromotingHost::RejectAuthenticatingClient() {
DCHECK(authenticating_client_);
reject_authenticating_client_ = true;
@@ -234,19 +230,6 @@
OnClientConnected(client->client_jid()));
}
-void ChromotingHost::OnSessionClientCapabilities(ClientSession* client) {
- DCHECK(CalledOnValidThread());
-
- // Create extension sessions from each registered extension for this client.
- for (HostExtensionList::iterator extension = extensions_.begin();
- extension != extensions_.end(); ++extension) {
- scoped_ptr<HostExtensionSession> extension_session =
- (*extension)->CreateExtensionSession(client);
- if (extension_session)
- client->AddExtensionSession(extension_session.Pass());
- }
-}
-
void ChromotingHost::OnSessionAuthenticationFailed(ClientSession* client) {
DCHECK(CalledOnValidThread());
@@ -337,13 +320,6 @@
desktop_environment_factory_,
max_session_duration_,
pairing_registry_);
-
- // Registers capabilities provided by host extensions.
- for (HostExtensionList::iterator extension = extensions_.begin();
- extension != extensions_.end(); ++extension) {
- client->AddHostCapabilities((*extension)->GetCapabilities());
- }
-
clients_.push_back(client);
}
« no previous file with comments | « trunk/src/remoting/host/chromoting_host.h ('k') | trunk/src/remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698