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

Issue 2978593002: Add validateOrigin() to the support library. (Closed)

Created:
3 years, 5 months ago by Benoit L
Modified:
3 years, 4 months ago
Reviewers:
Yusuf
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add validateRelationship() to the support library. This allows a client to request an origin to be validated as first-party with respect to the calling app. Validation is asynchronous. BUG=739165 Change-Id: I1a3543a773de9285217ec331759f8a94535b07a0 Review-Url: https://codereview.chromium.org/2978593002 Committed: https://github.com/GoogleChrome/custom-tabs-client/commit/cff061038b852d647f7044d828a9df78aa135f38

Patch Set 1 #

Patch Set 2 : Make the API more general #

Total comments: 4

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -9 lines) Patch
M Application/build.gradle View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build.gradle View 1 2 1 chunk +1 line, -1 line 0 comments Download
M customtabs/build.gradle View 1 2 1 chunk +11 lines, -3 lines 0 comments Download
M customtabs/src/android/support/customtabs/CustomTabsCallback.java View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/CustomTabsClient.java View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/CustomTabsService.java View 1 2 3 3 chunks +43 lines, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/CustomTabsSession.java View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/CustomTabsSessionToken.java View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/ICustomTabsCallback.aidl View 1 1 chunk +1 line, -0 lines 0 comments Download
M customtabs/src/android/support/customtabs/ICustomTabsService.aidl View 1 1 chunk +1 line, -0 lines 0 comments Download
M customtabs/tests/src/android/support/customtabs/TestCustomTabsCallback.java View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M customtabs/tests/src/android/support/customtabs/TestCustomTabsService.java View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M demos/build.gradle View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gradle/wrapper/gradle-wrapper.properties View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M shared/build.gradle View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
Benoit L
3 years, 5 months ago (2017-07-11 12:16:35 UTC) #3
Yusuf
lgtm for code but I did have a realization about the API setup. Right now ...
3 years, 5 months ago (2017-07-12 02:48:15 UTC) #4
Benoit L
Thanks for the suggestion! Done, using an int instead of a String, as an opaque ...
3 years, 5 months ago (2017-07-12 16:47:24 UTC) #6
Yusuf
lgtm. I agree that an int is better fitting here. For fullscreening for example, we ...
3 years, 5 months ago (2017-07-12 17:12:40 UTC) #7
Benoit L
Done, thanks! Can you take another look, though? I have added the required things in ...
3 years, 5 months ago (2017-07-13 13:05:56 UTC) #8
Yusuf
lgtm But seeing you fix the gradle reminded me that you will probably be asked ...
3 years, 5 months ago (2017-07-13 17:24:10 UTC) #9
Benoit L
Thanks! https://codereview.chromium.org/2978593002/diff/40001/customtabs/src/android/support/customtabs/CustomTabsService.java File customtabs/src/android/support/customtabs/CustomTabsService.java (right): https://codereview.chromium.org/2978593002/diff/40001/customtabs/src/android/support/customtabs/CustomTabsService.java#newcode88 customtabs/src/android/support/customtabs/CustomTabsService.java:88: * App -> transitions, requests the app to ...
3 years, 5 months ago (2017-07-18 11:36:59 UTC) #10
Yusuf
Should we land this? I can actually use the new relationship definition in some of ...
3 years, 5 months ago (2017-07-21 21:18:21 UTC) #11
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/2978593002/60001
3 years, 4 months ago (2017-07-27 09:43:17 UTC) #13
commit-bot: I haz the power
3 years, 4 months ago (2017-07-27 09:44:33 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/GoogleChrome/custom-tabs-client/commit/cff061038b852d647f7...

Powered by Google App Engine
This is Rietveld 408576698