summaryrefslogtreecommitdiffstats
path: root/chrome/browser/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 19:31:40 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-23 19:31:40 +0000
commit809e10f57b8bbfb1b780e3963a7466b15aef45bf (patch)
tree00b8867d566bf0c968b519bac4f036846d0c1612 /chrome/browser/remoting
parent1edeeaf2c02be8d62dd57a348b6a4d0e57604448 (diff)
downloadchromium_src-809e10f57b8bbfb1b780e3963a7466b15aef45bf.zip
chromium_src-809e10f57b8bbfb1b780e3963a7466b15aef45bf.tar.gz
chromium_src-809e10f57b8bbfb1b780e3963a7466b15aef45bf.tar.bz2
Remove chromoting host registration from service process. More IPCs to control
host state. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/5955001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/remoting')
-rw-r--r--chrome/browser/remoting/remoting_setup_flow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/remoting/remoting_setup_flow.cc b/chrome/browser/remoting/remoting_setup_flow.cc
index 6255c50..05c7590 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_->SetRemotingHostCredentials(login_, sync_token_);
+ process_control_->EnableRemotingHost();
// Save the preference that we have completed the setup of remoting.
profile_->GetPrefs()->SetBoolean(prefs::kRemotingHasSetupCompleted, true);