| Index: remoting/client/plugin/chromoting_instance.cc
|
| diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
|
| index eec8b39512e1b89ecbf92e9ac8e1c096fe7f456e..454368443bb017efb63537af87863d293c7f647c 100644
|
| --- a/remoting/client/plugin/chromoting_instance.cc
|
| +++ b/remoting/client/plugin/chromoting_instance.cc
|
| @@ -278,24 +278,6 @@ ChromotingScriptableObject* ChromotingInstance::GetScriptableObject() {
|
| return NULL;
|
| }
|
|
|
| -void ChromotingInstance::SubmitLoginInfo(const std::string& username,
|
| - const std::string& password) {
|
| - if (host_connection_->state() != protocol::ConnectionToHost::CONNECTED) {
|
| - LOG(INFO) << "Client not connected or already authenticated.";
|
| - return;
|
| - }
|
| -
|
| - protocol::LocalLoginCredentials* credentials =
|
| - new protocol::LocalLoginCredentials();
|
| - credentials->set_type(protocol::PASSWORD);
|
| - credentials->set_username(username);
|
| - credentials->set_credential(password.data(), password.length());
|
| -
|
| - host_connection_->host_stub()->BeginSessionRequest(
|
| - credentials,
|
| - base::Bind(&DeletePointer<protocol::LocalLoginCredentials>, credentials));
|
| -}
|
| -
|
| void ChromotingInstance::SetScaleToFit(bool scale_to_fit) {
|
| DCHECK(plugin_message_loop_->BelongsToCurrentThread());
|
|
|
|
|