Index: chrome/browser/remoting/remoting_setup_flow.cc |
diff --git a/chrome/browser/remoting/remoting_setup_flow.cc b/chrome/browser/remoting/remoting_setup_flow.cc |
index 6255c50aa64a2a1125452d766f7fa06262898141..b6a4f11664e6fb0b0627250b14c452cb1dba9faa 100644 |
--- a/chrome/browser/remoting/remoting_setup_flow.cc |
+++ b/chrome/browser/remoting/remoting_setup_flow.cc |
@@ -262,8 +262,8 @@ void RemotingSetupFlow::OnUserSubmittedAuth(const std::string& user, |
void RemotingSetupFlow::OnProcessLaunched() { |
DCHECK(process_control_->is_connected()); |
// TODO(hclam): Need to wait for an ACK to be sure that it is actually active. |
- process_control_->EnableRemotingWithTokens(login_, remoting_token_, |
- sync_token_); |
+ process_control_->SetChromotingHostCredentials(login_, sync_token_); |
+ process_control_->EnableChromotingHost(); |
// Save the preference that we have completed the setup of remoting. |
profile_->GetPrefs()->SetBoolean(prefs::kRemotingHasSetupCompleted, true); |