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

Unified Diff: remoting/host/plugin/host_script_object.cc

Issue 8619011: Use Authenticator interface in Session and SessionManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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: remoting/host/plugin/host_script_object.cc
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index a661b2e834320016b2d53f3e1a90ba6e56a0bc8e..3b6f85936e528fbdab7388cf8cfe55614b03ef85 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -653,7 +653,7 @@ void HostNPScriptObject::OnReceivedSupportID(
std::string host_secret = GenerateRandomHostSecret();
std::string access_code = support_id + host_secret;
- host_->set_access_code(access_code);
+ host_->SetSharedSecret(access_code);
{
base::AutoLock lock(access_code_lock_);

Powered by Google App Engine
This is Rietveld 408576698