diff options
author | maksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 08:14:39 +0000 |
---|---|---|
committer | maksymb@chromium.org <maksymb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 08:14:39 +0000 |
commit | b8716d582ef93a8b1d6b1c0c31a01191936ae7a0 (patch) | |
tree | 6d08c8a7d6bb53493fe7d3a446c78368f0888d47 /cloud_print/gcp20/prototype/printer.cc | |
parent | 4af8c1f17547b320efcdaa94b23e49d1af0ebe76 (diff) | |
download | chromium_src-b8716d582ef93a8b1d6b1c0c31a01191936ae7a0.zip chromium_src-b8716d582ef93a8b1d6b1c0c31a01191936ae7a0.tar.gz chromium_src-b8716d582ef93a8b1d6b1c0c31a01191936ae7a0.tar.bz2 |
GCP2.0 Device: Bugfix for updating metadata.
BUG=
Review URL: https://chromiumcodereview.appspot.com/21884006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/gcp20/prototype/printer.cc')
-rw-r--r-- | cloud_print/gcp20/prototype/printer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cloud_print/gcp20/prototype/printer.cc b/cloud_print/gcp20/prototype/printer.cc index b6ff2c41..9421c03 100644 --- a/cloud_print/gcp20/prototype/printer.cc +++ b/cloud_print/gcp20/prototype/printer.cc @@ -350,8 +350,7 @@ void Printer::OnGetAuthCodeResponseParsed(const std::string& refresh_token, reg_info_.state = RegistrationInfo::DEV_REG_REGISTERED; reg_info_.refresh_token = refresh_token; RememberAccessToken(access_token, access_token_expires_in_seconds); - - ConnectXmpp(); + TryConnect(); } void Printer::OnAccesstokenReceviced(const std::string& access_token, |