|
|
DescriptionAdd a rappor metric for getting package names for custom tabs clients
This adds a static call to the rappor service bridge for collecting
a string metric and uses it to record the package names for custom tabs
client anonymously.
BUG=530653
Committed: https://crrev.com/4828ce54ef48864efaf870516312d131fc861999
Cr-Commit-Position: refs/heads/master@{#351832}
Patch Set 1 #Patch Set 2 : Rebased #Patch Set 3 : Rebased after refactoring in CustomTabsConnection #Patch Set 4 : rebased agai #Patch Set 5 : Exclude Chrome package name from recorded packages #Patch Set 6 : Moved the recording to the activity #Patch Set 7 : Fix imports #Patch Set 8 : Rebased #
Messages
Total messages: 61 (27 generated)
yusufo@chromium.org changed reviewers: + asvitkine@chromium.org, newt@chromium.org
asvitkine for rappor related changes. Please let me know if there is any other places I should be updating about this. Do we need a set of possible values right now? newt@ for android bits.
I'm not at all familiar with rappor. Maybe someone else would be better to review this?
asvitkine@chromium.org changed reviewers: + holte@chromium.org - asvitkine@chromium.org
I'm pretty overloaded this week, so over to +holte@ to help with the RAPPOR review. Thanks!
This looks fine code wise. What does the space of package names look like? Do you have a candidate set you think will be comprehensive? Not sure if you discussed this with any of the Rappor folks yet.
On 2015/09/18 00:21:57, Steven Holte wrote: > This looks fine code wise. What does the space of package names look like? Do > you have a candidate set you think will be comprehensive? Not sure if you > discussed this with any of the Rappor folks yet. I haven't. This was my first step in initiating a conversation :). We might have a candidate set but I am not sure how big comprehensive is here? Or how inclusive it should be. Does the sample set has to include all possible values? Or all possible values we care about? And is there a lower bound on how big it can be? Should I have been asking these questions to Rappor folks before sending the review? :)
On 2015/09/18 16:32:28, Yusuf wrote: > On 2015/09/18 00:21:57, Steven Holte wrote: > > This looks fine code wise. What does the space of package names look like? > Do > > you have a candidate set you think will be comprehensive? Not sure if you > > discussed this with any of the Rappor folks yet. > > I haven't. This was my first step in initiating a conversation :). > > We might have a candidate set but I am not sure how big comprehensive is here? > Or how inclusive it should be. Does the sample set has to include all possible > values? Or all possible values we care about? And is there a lower bound on > how big it can be? Should I have been asking these questions to Rappor folks > before > sending the review? :) There are some setup steps on the analysis side for adding new candidate sets, so it's a good idea to loop rappor-team@ in. "Comprehensive" should include all of the values you care about, and any values you expect might be common. The smaller the % of reports that come from values that you don't have a candidate for, the better.
lgtm for code review. We can set up the candidate set in parallel.
yusufo@chromium.org changed reviewers: + mariakhomenko@chromium.org
@mariakhomenko for android changes
lgtm
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...) win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/...) win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...) win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...) win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_r...)
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/...)
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_d...)
The CQ bit was checked by yusufo@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from holte@chromium.org, mariakhomenko@chromium.org Link to the patchset: https://codereview.chromium.org/1352693002/#ps60001 (title: "rebased agai")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
yusufo@chromium.org changed reviewers: + dfalcantara@chromium.org
dfalcantara for OWNERS on chrome/browser/android/OWNERS
lgtm
The CQ bit was checked by yusufo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_r...)
The CQ bit was checked by yusufo@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from holte@chromium.org, dfalcantara@chromium.org, mariakhomenko@chromium.org Link to the patchset: https://chromiumcodereview.appspot.com/1352693002/#ps80001 (title: "Exclude Chrome package name from recorded packages")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
yusufo@chromium.org changed reviewers: + lizeb@chromium.org - newt@chromium.org
Moved the recording logic to the activity since this will make sure it is called when native library is there and also recorded only once after the tab is created. lizeb@ do you mind taking a final look and see whether this makes sense?
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile...)
The CQ bit was checked by yusufo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/120001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_d...)
On 2015/10/01 00:30:06, commit-bot: I haz the power wrote: > Dry run: Try jobs failed on following builders: > android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_d...) lgtm
The CQ bit was checked by yusufo@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from holte@chromium.org, dfalcantara@chromium.org, mariakhomenko@chromium.org, lizeb@chromium.org Link to the patchset: https://codereview.chromium.org/1352693002/#ps140001 (title: "Rebased")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352693002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352693002/140001
Message was sent while issue was closed.
Committed patchset #8 (id:140001)
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/4828ce54ef48864efaf870516312d131fc861999 Cr-Commit-Position: refs/heads/master@{#351832} |