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

Unified Diff: remoting/host/simple_host_process.cc

Issue 7041006: Add fix suggestion for me2mom failure case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/simple_host_process.cc
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index a7132ecc2179a7bf95a79e10798d57e2bf76a08a..368ea40df6b4a368fead62f1e0f76704ef063b75 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -89,11 +89,14 @@ const char kVideoSwitchValueVp8Rtp[] = "vp8rtp";
// Glue class to print out the access code for Me2Mom.
void SetMe2MomAccessCode(remoting::SupportAccessVerifier* access_verifier,
bool successful, const std::string& support_id) {
+ access_verifier->OnMe2MomHostRegistered(successful, support_id);
awong 2011/06/08 18:34:45 Why did we move this higher up?
Jamie 2011/06/08 18:37:43 Because the error message is printed out by the ac
if (successful) {
std::cout << "Support id: " << support_id << "-"
<< access_verifier->host_secret() << std::endl;
+ } else {
+ LOG(ERROR) << "If you haven't done so recently, try running"
+ << " remoting/tools/register_host.py.";
}
- access_verifier->OnMe2MomHostRegistered(successful, support_id);
}
class SimpleHost {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698