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
parent d0ec242e
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment