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

Issue 1284743003: Add referrer through service connection in custom tabs (Closed)

Created:
5 years, 4 months ago by Yusuf
Modified:
5 years, 4 months ago
Reviewers:
nyquist, Benoit L, Maria
CC:
chromium-reviews, ianwen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add referrer through service connection in custom tabs If there is a unique single package name that can be obtained through custom tabs service and if the referrer has not been explicitly set by the launching app, set it to a Uri that uses the package name as authority(in line with Activity#getReferrer()) BUG=517528 Committed: https://crrev.com/55c0af75147dfb0bb434d7589288c856b64e9f5e Cr-Commit-Position: refs/heads/master@{#344279}

Patch Set 1 #

Patch Set 2 : Added test #

Total comments: 1

Patch Set 3 : Added constructed referrer to prerender as well #

Total comments: 1

Patch Set 4 : remvoe the ununsed api #

Patch Set 5 : rebased #

Messages

Total messages: 21 (7 generated)
Yusuf
5 years, 4 months ago (2015-08-11 00:38:35 UTC) #2
Maria
lgtm Thanks for fixing my TODO
5 years, 4 months ago (2015-08-11 01:02:57 UTC) #3
Benoit L
Thanks! A few general comments: - What about the prerendering case? In CustomTabsConnection#prerenderUrl(), a referrer ...
5 years, 4 months ago (2015-08-11 08:46:06 UTC) #4
Yusuf
Uploaded another patch with a few additions. On 2015/08/11 08:46:06, Benoit L wrote: > Thanks! ...
5 years, 4 months ago (2015-08-12 22:34:28 UTC) #5
Benoit L
On 2015/08/12 22:34:28, Yusuf wrote: > Uploaded another patch with a few additions. > > ...
5 years, 4 months ago (2015-08-13 08:42:06 UTC) #6
Yusuf
nyquest for base/
5 years, 4 months ago (2015-08-13 22:24:03 UTC) #8
nyquist
https://codereview.chromium.org/1284743003/diff/40001/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java File base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java (right): https://codereview.chromium.org/1284743003/diff/40001/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java#newcode437 base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java:437: public static Uri getReferrer(Activity activity) { Is this even ...
5 years, 4 months ago (2015-08-18 21:57:31 UTC) #9
nyquist
I guess you don't need my review anymore for this?
5 years, 4 months ago (2015-08-19 09:35:56 UTC) #10
Yusuf
No.Sorry for the trouble
5 years, 4 months ago (2015-08-19 17:11:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1284743003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1284743003/60001
5 years, 4 months ago (2015-08-19 17:12:26 UTC) #14
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/90121)
5 years, 4 months ago (2015-08-19 17:18:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1284743003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1284743003/80001
5 years, 4 months ago (2015-08-19 17:34:51 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-19 18:28:57 UTC) #20
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 18:29:52 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/55c0af75147dfb0bb434d7589288c856b64e9f5e
Cr-Commit-Position: refs/heads/master@{#344279}

Powered by Google App Engine
This is Rietveld 408576698