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

Issue 2468353002: Added UnguessableToken.java . (Closed)

Created:
4 years, 1 month ago by liberato (no reviews please)
Modified:
4 years, 1 month ago
Reviewers:
nyquist, tguilbert
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added UnguessableToken.java . Added a java wrapper for base::UnguessableToken. Native code can start with a native UnguessableToken, and convert it to and from a java UnguessableToken. The java implementation is Parcelable, so that it can be sent via binder easily. TEST=jni_unguessable_token_unittest BUG= Committed: https://crrev.com/d8b550c725757a369fd04dee74f5309ab5637569 Cr-Commit-Position: refs/heads/master@{#431342}

Patch Set 1 #

Patch Set 2 : fixed cfixed compilation #

Patch Set 3 : comments #

Total comments: 5

Patch Set 4 : added unit test for parcel / unparcel #

Patch Set 5 : added final for findbugs compilation failure #

Total comments: 12

Patch Set 6 : jni_unguessable_token => unguessable_token_android #

Patch Set 7 : renamed unit test, comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -0 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 4 chunks +5 lines, -0 lines 0 comments Download
A base/android/java/src/org/chromium/base/UnguessableToken.java View 1 2 3 4 5 1 chunk +91 lines, -0 lines 0 comments Download
A base/android/unguessable_token_android.h View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A base/android/unguessable_token_android.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A base/android/unguessable_token_android_unittest.cc View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
liberato (no reviews please)
here's an attempt at wrapping UnguessableToken for use in java. overall, i'm picturing native code ...
4 years, 1 month ago (2016-11-02 22:10:51 UTC) #3
liberato (no reviews please)
https://codereview.chromium.org/2468353002/diff/40001/base/android/java/src/org/chromium/base/UnguessableToken.java File base/android/java/src/org/chromium/base/UnguessableToken.java (right): https://codereview.chromium.org/2468353002/diff/40001/base/android/java/src/org/chromium/base/UnguessableToken.java#newcode51 base/android/java/src/org/chromium/base/UnguessableToken.java:51: public void writeToParcel(Parcel dest, int flags) { i need ...
4 years, 1 month ago (2016-11-02 22:18:24 UTC) #4
tguilbert
LGTM % nits (I don't have committer status yet FYI...) https://codereview.chromium.org/2468353002/diff/40001/base/android/jni_unguessable_token.cc File base/android/jni_unguessable_token.cc (right): https://codereview.chromium.org/2468353002/diff/40001/base/android/jni_unguessable_token.cc#newcode15 ...
4 years, 1 month ago (2016-11-02 23:31:50 UTC) #5
liberato (no reviews please)
nyquist: PTAL as an owner of base/android . thanks! tguilbert: thanks for the comments. thanks ...
4 years, 1 month ago (2016-11-03 15:42:30 UTC) #8
nyquist
https://codereview.chromium.org/2468353002/diff/100001/base/android/java/src/org/chromium/base/UnguessableToken.java File base/android/java/src/org/chromium/base/UnguessableToken.java (right): https://codereview.chromium.org/2468353002/diff/100001/base/android/java/src/org/chromium/base/UnguessableToken.java#newcode18 base/android/java/src/org/chromium/base/UnguessableToken.java:18: * base::UnguessableToken, then create a java object from it. ...
4 years, 1 month ago (2016-11-08 19:04:42 UTC) #17
liberato (no reviews please)
thanks for the feedback. -fl https://codereview.chromium.org/2468353002/diff/100001/base/android/java/src/org/chromium/base/UnguessableToken.java File base/android/java/src/org/chromium/base/UnguessableToken.java (right): https://codereview.chromium.org/2468353002/diff/100001/base/android/java/src/org/chromium/base/UnguessableToken.java#newcode18 base/android/java/src/org/chromium/base/UnguessableToken.java:18: * base::UnguessableToken, then create ...
4 years, 1 month ago (2016-11-09 18:18:33 UTC) #18
nyquist
lgtm
4 years, 1 month ago (2016-11-10 20:16:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468353002/140001
4 years, 1 month ago (2016-11-10 20:32:30 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 1 month ago (2016-11-10 20:41:38 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 21:00:04 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/d8b550c725757a369fd04dee74f5309ab5637569
Cr-Commit-Position: refs/heads/master@{#431342}

Powered by Google App Engine
This is Rietveld 408576698