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

Issue 6649006: Added support for other authentication mechanisms in jingle. This will allow ... (Closed)

Created:
9 years, 9 months ago by sanjeevr
Modified:
9 years, 7 months ago
Reviewers:
akalin
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Added support for other authentication mechanisms in jingle. This will allow us to use OAuth2 tokens when OAuth2 support is ready in Talk. BUG=None TEST=Test cloud print and sync for regressions. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=77434

Patch Set 1 #

Patch Set 2 : Lint error fixed #

Total comments: 5

Patch Set 3 : Review comments addressed #

Total comments: 1

Patch Set 4 : Review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -26 lines) Patch
M jingle/jingle.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M jingle/notifier/base/notifier_options.h View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
A jingle/notifier/base/notifier_options.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M jingle/notifier/communicator/gaia_token_pre_xmpp_auth.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc View 1 2 3 4 chunks +16 lines, -10 lines 0 comments Download
M jingle/notifier/communicator/login.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M jingle/notifier/communicator/login.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M jingle/notifier/communicator/login_settings.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M jingle/notifier/communicator/login_settings.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M jingle/notifier/communicator/single_login_attempt.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M jingle/notifier/listener/mediator_thread_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M remoting/jingle_glue/jingle_client.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sanjeevr
9 years, 9 months ago (2011-03-08 22:50:00 UTC) #1
akalin
http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h File jingle/notifier/base/notifier_options.h (right): http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h#newcode44 jingle/notifier/base/notifier_options.h:44: std::string auth_mechanism; What do you think about using an ...
9 years, 9 months ago (2011-03-08 22:55:37 UTC) #2
sanjeevr
http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h File jingle/notifier/base/notifier_options.h (right): http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h#newcode44 jingle/notifier/base/notifier_options.h:44: std::string auth_mechanism; On 2011/03/08 22:55:37, akalin wrote: > What ...
9 years, 9 months ago (2011-03-08 23:01:41 UTC) #3
akalin
LGTM http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h File jingle/notifier/base/notifier_options.h (right): http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/base/notifier_options.h#newcode44 jingle/notifier/base/notifier_options.h:44: std::string auth_mechanism; Fair enough. Although I expect we'll ...
9 years, 9 months ago (2011-03-08 23:44:35 UTC) #4
akalin
Actually, one more thing http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc File jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc (right): http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc#newcode61 jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc:61: // For backward compatibility, default ...
9 years, 9 months ago (2011-03-08 23:45:56 UTC) #5
sanjeevr
Made the changes, PTAL. http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc File jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc (right): http://codereview.chromium.org/6649006/diff/4002/jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc#newcode61 jingle/notifier/communicator/gaia_token_pre_xmpp_auth.cc:61: // For backward compatibility, default ...
9 years, 9 months ago (2011-03-09 00:54:44 UTC) #6
akalin
9 years, 9 months ago (2011-03-09 01:02:41 UTC) #7
LGTM

http://codereview.chromium.org/6649006/diff/7003/jingle/notifier/base/notifie...
File jingle/notifier/base/notifier_options.h (right):

http://codereview.chromium.org/6649006/diff/7003/jingle/notifier/base/notifie...
jingle/notifier/base/notifier_options.h:38: // Specifies the auth mechanism to
use ("X-GOOGLE-TOKEN", "X-OAUTH2" etc),
punctuation nit: should be:

"X-OAUTH2", etc.).

Powered by Google App Engine
This is Rietveld 408576698