summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 20:57:13 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 20:57:13 +0000
commit83fa679f639f8db92db9847dba3ba700b34176ff (patch)
treea37d0be0a2fa1cfa03722ba977b2b5a7c3f1df53
parentd0ec242ea9e35797655a15240484f966ad513cc3 (diff)
downloadchromium_src-83fa679f639f8db92db9847dba3ba700b34176ff.zip
chromium_src-83fa679f639f8db92db9847dba3ba700b34176ff.tar.gz
chromium_src-83fa679f639f8db92db9847dba3ba700b34176ff.tar.bz2
Add fix suggestion for me2mom failure case.
BUG=None TEST=Run remoting_simple_host --me2mom without cached credentials. Review URL: http://codereview.chromium.org/7041006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88394 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--remoting/host/simple_host_process.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index a7132ec..368ea40 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);
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 {