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

Issue 311983003: Third Party Authentication for Android Part I - TokenFetcherProxy (Closed)

Created:
6 years, 6 months ago by kelvinp
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Visibility:
Public.

Description

Third Party Authentication for Android Part I - TokenFetcherProxy. This is part I of the effort to support third party authentication for android. The TokenFetcherProxy is generalized version of the existing PepperTokenFetcher. It is used by the ThirdPartyClientAuthenticator to fetch auth tokens from both the webapp and the android client. BUG=329109 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275386

Patch Set 1 : JNI Token Fetcher #

Total comments: 2

Patch Set 2 : Consolidate PepperTokenFetcher and JniTokenFetcher #

Total comments: 12

Patch Set 3 : Addressing CR feedbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -97 lines) Patch
M remoting/client/jni/chromoting_jni_instance.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 4 chunks +11 lines, -8 lines 0 comments Download
D remoting/client/plugin/pepper_token_fetcher.h View 1 1 chunk +0 lines, -44 lines 0 comments Download
D remoting/client/plugin/pepper_token_fetcher.cc View 1 1 chunk +0 lines, -40 lines 0 comments Download
A remoting/client/token_fetcher_proxy.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A remoting/client/token_fetcher_proxy.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kelvinp
6 years, 6 months ago (2014-06-04 01:30:45 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/311983003/diff/20001/remoting/client/jni/jni_token_fetcher.h File remoting/client/jni/jni_token_fetcher.h (right): https://codereview.chromium.org/311983003/diff/20001/remoting/client/jni/jni_token_fetcher.h#newcode18 remoting/client/jni/jni_token_fetcher.h:18: class JniTokenFetcher This looks a lot like PepperTokenFetcher. I ...
6 years, 6 months ago (2014-06-04 03:49:18 UTC) #2
kelvinp
6 years, 6 months ago (2014-06-04 17:18:57 UTC) #3
kelvinp
6 years, 6 months ago (2014-06-04 21:13:30 UTC) #4
kelvinp
PTAL https://codereview.chromium.org/311983003/diff/20001/remoting/client/jni/jni_token_fetcher.h File remoting/client/jni/jni_token_fetcher.h (right): https://codereview.chromium.org/311983003/diff/20001/remoting/client/jni/jni_token_fetcher.h#newcode18 remoting/client/jni/jni_token_fetcher.h:18: class JniTokenFetcher On 2014/06/04 03:49:17, Sergey Ulanov wrote: ...
6 years, 6 months ago (2014-06-04 21:13:53 UTC) #5
Lambros
JNI changes LG, but I'll defer to Sergey on the rest. https://codereview.chromium.org/311983003/diff/40001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): ...
6 years, 6 months ago (2014-06-04 22:20:19 UTC) #6
rmsousa
lgtm
6 years, 6 months ago (2014-06-04 22:52:14 UTC) #7
anandc
On 2014/06/04 22:52:14, rmsousa wrote: > lgtm Chiming in late here: are there any unit-tests ...
6 years, 6 months ago (2014-06-05 18:19:25 UTC) #8
kelvinp
On 2014/06/05 18:19:25, anandc wrote: > On 2014/06/04 22:52:14, rmsousa wrote: > > lgtm > ...
6 years, 6 months ago (2014-06-05 18:30:05 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/311983003/diff/40001/remoting/client/token_fetcher_proxy.h File remoting/client/token_fetcher_proxy.h (right): https://codereview.chromium.org/311983003/diff/40001/remoting/client/token_fetcher_proxy.h#newcode22 remoting/client/token_fetcher_proxy.h:22: TokenFetcherProxy(TokenFetcherCallback token_fetcher_impl, nit: const reference https://codereview.chromium.org/311983003/diff/40001/remoting/client/token_fetcher_proxy.h#newcode37 remoting/client/token_fetcher_proxy.h:37: std::string host_public_key_; ...
6 years, 6 months ago (2014-06-05 22:04:01 UTC) #10
Sergey Ulanov
lgtm when my comments are addressed https://codereview.chromium.org/311983003/diff/40001/remoting/client/token_fetcher_proxy.h File remoting/client/token_fetcher_proxy.h (right): https://codereview.chromium.org/311983003/diff/40001/remoting/client/token_fetcher_proxy.h#newcode23 remoting/client/token_fetcher_proxy.h:23: const std::string& host_public_key); ...
6 years, 6 months ago (2014-06-05 22:06:18 UTC) #11
kelvinp
https://codereview.chromium.org/311983003/diff/40001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/311983003/diff/40001/remoting/client/jni/chromoting_jni_instance.cc#newcode115 remoting/client/jni/chromoting_jni_instance.cc:115: // android app (Android Beyond Corp - Part II). ...
6 years, 6 months ago (2014-06-05 23:53:14 UTC) #12
kelvinp
The CQ bit was checked by kelvinp@chromium.org
6 years, 6 months ago (2014-06-05 23:53:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kelvinp@chromium.org/311983003/60001
6 years, 6 months ago (2014-06-05 23:56:27 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 10:50:53 UTC) #15
Message was sent while issue was closed.
Change committed as 275386

Powered by Google App Engine
This is Rietveld 408576698