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

Issue 1954363002: Start using the third_party/custom_tabs_client as support lib source (Closed)

Created:
4 years, 7 months ago by Yusuf
Modified:
4 years, 6 months ago
Reviewers:
pasko, Ian Wen, Benoit L, gone
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start using the third_party/custom_tabs_client as support lib source This removes the half baked copies for constants and aidls in chromium and starts using proper Custom Tabs classes through the third party repo for all calls. BUG=522099 Committed: https://crrev.com/9993a5742289cf9d88953013b0a0c7883ea0db43 Cr-Commit-Position: refs/heads/master@{#396515}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added a DEPS roll for compile issues #

Patch Set 3 : Rebased #

Patch Set 4 : add proguard config to avoid stripping out custom tabs classes #

Total comments: 5

Patch Set 5 : Testing fixes #

Patch Set 6 : removed unused method #

Patch Set 7 : Address comments #

Patch Set 8 : Rebased #

Patch Set 9 : Fixed compile error #

Patch Set 10 : FIxed findbugs #

Patch Set 11 : Testing fixes #

Total comments: 7

Patch Set 12 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -689 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +2 lines, -11 lines 0 comments Download
M chrome/android/java/proguard.flags View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/java/src/android/support/customtabs/CustomTabsCallback.java View 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java View 1 chunk +0 lines, -241 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/CustomTabsService.java View 1 chunk +0 lines, -12 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/ICustomTabsCallback.aidl View 1 chunk +0 lines, -16 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/android/java/src/android/support/customtabs/common.aidl View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java View 1 2 3 4 5 6 7 8 9 10 11 17 chunks +41 lines, -60 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java View 1 2 3 4 5 6 7 8 9 10 7 chunks +8 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabObserver.java View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java View 1 2 3 4 5 6 21 chunks +51 lines, -49 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionService.java View 1 2 3 4 5 6 7 8 2 chunks +44 lines, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseTypeDialogFragment.java View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/ClientManagerTest.java View 8 chunks +14 lines, -16 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 2 3 4 5 6 7 8 9 10 25 chunks +112 lines, -75 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabsConnectionTest.java View 18 chunks +66 lines, -64 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabsTestUtils.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -21 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/hardware_acceleration/CustomTabActivityHWATest.java View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 60 (21 generated)
Yusuf
I have very mixed feeling about landing this....
4 years, 7 months ago (2016-05-06 23:41:52 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/1
4 years, 7 months ago (2016-05-06 23:44:02 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/62327)
4 years, 7 months ago (2016-05-06 23:59:26 UTC) #6
pasko
Oh, this is great!! would you like to fix the compilation first?
4 years, 7 months ago (2016-05-09 10:07:00 UTC) #7
Ian Wen
Thanks for preparing this awesome change! https://chromiumcodereview.appspot.com/1954363002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java (left): https://chromiumcodereview.appspot.com/1954363002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java#oldcode131 chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java:131: onDisconnect.run(session); Is it ...
4 years, 7 months ago (2016-05-09 21:17:49 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/20001
4 years, 7 months ago (2016-05-09 21:28:25 UTC) #10
Yusuf
https://chromiumcodereview.appspot.com/1954363002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java (left): https://chromiumcodereview.appspot.com/1954363002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java#oldcode131 chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java:131: onDisconnect.run(session); On 2016/05/09 21:17:48, Ian Wen wrote: > Is ...
4 years, 7 months ago (2016-05-09 21:28:53 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/67365)
4 years, 7 months ago (2016-05-09 23:39:39 UTC) #13
Yusuf
On 2016/05/09 10:07:00, pasko wrote: > Oh, this is great!! > > would you like ...
4 years, 7 months ago (2016-05-11 20:52:05 UTC) #14
pasko
https://codereview.chromium.org/1954363002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java (left): https://codereview.chromium.org/1954363002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java#oldcode130 chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java:130: cleanupSession(session); with your change are we no longer doing ...
4 years, 7 months ago (2016-05-12 12:08:23 UTC) #15
Yusuf
https://codereview.chromium.org/1954363002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java File chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java (right): https://codereview.chromium.org/1954363002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java#newcode183 chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java:183: Intent intent = new Intent(Intent.ACTION_VIEW, syncDashboardUrl); On 2016/05/12 12:08:23, ...
4 years, 7 months ago (2016-05-12 17:49:58 UTC) #16
Benoit L
Codereview hates me today (can't publish the comment). In ClientManager, we no longer call onDisconnect, ...
4 years, 7 months ago (2016-05-13 15:51:31 UTC) #17
Yusuf
On 2016/05/13 15:51:31, Benoit L wrote: > Codereview hates me today (can't publish the comment). ...
4 years, 7 months ago (2016-05-17 05:09:19 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/140001
4 years, 7 months ago (2016-05-18 21:42:05 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/68508) mac_chromium_gn_rel on ...
4 years, 7 months ago (2016-05-18 22:08:14 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/160001
4 years, 7 months ago (2016-05-18 22:11:39 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/68618)
4 years, 7 months ago (2016-05-18 23:11:17 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/180001
4 years, 7 months ago (2016-05-19 17:30:29 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/73510)
4 years, 7 months ago (2016-05-19 19:38:33 UTC) #30
Yusuf
Passing on all tests finally! This is good to go now. So PTAL.
4 years, 7 months ago (2016-05-24 22:10:02 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/200001
4 years, 7 months ago (2016-05-24 22:10:47 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-24 23:32:52 UTC) #35
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-24 23:33:06 UTC) #36
pasko
lgtm, thank you, Yusuf! Not suggesting now, rather a question: is it technically possible to ...
4 years, 7 months ago (2016-05-25 10:12:39 UTC) #37
Ian Wen
Thank you Yusuf! I see no problem with this CL. Only one optional nit. https://codereview.chromium.org/1954363002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java ...
4 years, 7 months ago (2016-05-25 18:09:59 UTC) #38
Ian Wen
lgtm
4 years, 7 months ago (2016-05-25 18:10:22 UTC) #39
Benoit L
lgtm with a few small comments. Thanks for doing that! No code is best code. ...
4 years, 7 months ago (2016-05-26 15:42:00 UTC) #40
Yusuf
https://codereview.chromium.org/1954363002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java (right): https://codereview.chromium.org/1954363002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java#newcode97 chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java:97: public interface DisconnectCallback { public void run(CustomTabsSessionToken session); } ...
4 years, 7 months ago (2016-05-26 19:30:33 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/220001
4 years, 7 months ago (2016-05-26 19:31:42 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-26 21:03:28 UTC) #45
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-26 21:03:43 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/220001
4 years, 6 months ago (2016-05-27 17:38:20 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/191266)
4 years, 6 months ago (2016-05-27 17:46:27 UTC) #51
Yusuf
dfalcantara@ for chrome/android/java specifically changes related with : -deleting chrome/android/java/src/android/support/customtabs/* -replacing a call in chrome/android/java/src/org/chromium/chrome/browser/sync/ui/
4 years, 6 months ago (2016-05-27 17:52:08 UTC) #52
Yusuf
4 years, 6 months ago (2016-05-27 17:52:23 UTC) #54
gone
lgtm for the things you asked me to look over.
4 years, 6 months ago (2016-05-27 18:10:38 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954363002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954363002/220001
4 years, 6 months ago (2016-05-27 18:11:52 UTC) #57
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 6 months ago (2016-05-27 18:17:48 UTC) #58
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 18:21:06 UTC) #60
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/9993a5742289cf9d88953013b0a0c7883ea0db43
Cr-Commit-Position: refs/heads/master@{#396515}

Powered by Google App Engine
This is Rietveld 408576698