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

Unified Diff: chrome/browser/remoting/remoting_setup_flow.cc

Issue 5955001: Remove chromoting host registration from service process. More IPCs to control (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years 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: 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);
« no previous file with comments | « no previous file | chrome/browser/service/service_process_control.h » ('j') | chrome/browser/service/service_process_control.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698