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

Issue 4708002: Add a histogram for tracking web store promo (Closed)

Created:
10 years, 1 month ago by jstritar
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Add a histogram for tracking web store promo Creates an enumeration histogram called Extensions.AppsPromo with the following buckets: 0: launched an application from the promo 1: launched the web store from the promo 2: manually closed the promo (and uninstalled the applications) 3: promo expired BUG=61017 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66006

Patch Set 1 #

Total comments: 5

Patch Set 2 : incorporate feedback #

Total comments: 6

Patch Set 3 : incorporate feedback, use ping attribute #

Total comments: 3

Patch Set 4 : feedback #

Total comments: 3

Patch Set 5 : reorder methods in app_launcher_handler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -57 lines) Patch
M chrome/browser/dom_ui/app_launcher_handler.h View 1 2 3 4 4 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/dom_ui/app_launcher_handler.cc View 1 2 3 4 10 chunks +107 lines, -47 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.cc View 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/default_apps.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/resources/new_new_tab.js View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 6 chunks +17 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_constants.h View 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jstritar
Could you take a look at this?
10 years, 1 month ago (2010-11-08 22:55:39 UTC) #1
Erik does not do reviews
+aa to look at the JS code which seems odd to me I think we ...
10 years, 1 month ago (2010-11-08 23:44:27 UTC) #2
jstritar
On 2010/11/08 23:44:27, Erik Kay wrote: > http://codereview.chromium.org/4708002/diff/1/5 > File chrome/browser/resources/new_new_tab.js (right): > > http://codereview.chromium.org/4708002/diff/1/5#newcode1216 ...
10 years, 1 month ago (2010-11-09 17:24:07 UTC) #3
jstritar
I uploaded a new CL that addresses your feedback. I still need to do the ...
10 years, 1 month ago (2010-11-10 19:55:16 UTC) #4
Aaron Boodman
The fact that there is no chokepoint for app launch is indeed ugly. I've poked ...
10 years, 1 month ago (2010-11-10 20:38:00 UTC) #5
Erik does not do reviews
This is just feedback on the enumeration and histogram itself. I'll stay out of the ...
10 years, 1 month ago (2010-11-10 23:29:51 UTC) #6
Aaron Boodman
On 2010/11/10 20:38:00, Aaron Boodman wrote: > Maybe we could use the ping="" attribute and ...
10 years, 1 month ago (2010-11-11 01:14:58 UTC) #7
arv (Not doing code reviews)
On 2010/11/11 01:14:58, Aaron Boodman wrote: > On 2010/11/10 20:38:00, Aaron Boodman wrote: > > ...
10 years, 1 month ago (2010-11-11 04:10:58 UTC) #8
arv (Not doing code reviews)
I'm not sure I fully understand what we are trying to achieve here? If you ...
10 years, 1 month ago (2010-11-11 05:23:08 UTC) #9
jstritar
Thank you for the feedback everyone. I decided to go w/ the 'ping' route. Unfortunately ...
10 years, 1 month ago (2010-11-12 00:03:34 UTC) #10
Aaron Boodman
Cool I like this approach. http://codereview.chromium.org/4708002/diff/26001/chrome/browser/dom_ui/new_tab_ui.cc File chrome/browser/dom_ui/new_tab_ui.cc (right): http://codereview.chromium.org/4708002/diff/26001/chrome/browser/dom_ui/new_tab_ui.cc#newcode625 chrome/browser/dom_ui/new_tab_ui.cc:625: if (path.find(extension_misc::kLaunchWebStorePingURL) != std::string::npos) ...
10 years, 1 month ago (2010-11-12 00:29:20 UTC) #11
arv (Not doing code reviews)
I don't think a[ping] is sufficient since clicking on the link does not trigger a ...
10 years, 1 month ago (2010-11-12 01:20:58 UTC) #12
Erik does not do reviews
The histogram part of this LGTM To recap where we're at with the rest of ...
10 years, 1 month ago (2010-11-12 15:27:38 UTC) #13
Aaron Boodman
On Fri, Nov 12, 2010 at 7:27 AM, <erikkay@chromium.org> wrote: > To recap where we're ...
10 years, 1 month ago (2010-11-12 15:31:05 UTC) #14
jstritar
On 2010/11/12 15:31:05, Aaron Boodman wrote: > On Fri, Nov 12, 2010 at 7:27 AM, ...
10 years, 1 month ago (2010-11-12 15:36:04 UTC) #15
jstritar
Uploaded a new CL based on Aaron's feedback. @arv: We also bump the histogram from ...
10 years, 1 month ago (2010-11-12 16:13:09 UTC) #16
Aaron Boodman
http://codereview.chromium.org/4708002/diff/44001/chrome/browser/dom_ui/app_launcher_handler.h File chrome/browser/dom_ui/app_launcher_handler.h (right): http://codereview.chromium.org/4708002/diff/44001/chrome/browser/dom_ui/app_launcher_handler.h#newcode68 chrome/browser/dom_ui/app_launcher_handler.h:68: static bool HandlePing(const std::string& path); We seem to usually ...
10 years, 1 month ago (2010-11-12 19:01:02 UTC) #17
jstritar
Uploaded a new CL based on this feedback. On 2010/11/12 19:01:02, Aaron Boodman wrote: > ...
10 years, 1 month ago (2010-11-12 19:59:07 UTC) #18
Aaron Boodman
LGTM Erik Kay: I thought about your concern (that middle click doesn't open a pinned ...
10 years, 1 month ago (2010-11-12 20:53:20 UTC) #19
Erik does not do reviews
10 years, 1 month ago (2010-11-12 22:03:38 UTC) #20
SGTM - should we file a bug for the other bit?

On Fri, Nov 12, 2010 at 12:53 PM, <aa@chromium.org> wrote:

> LGTM
>
> Erik Kay: I thought about your concern (that middle click doesn't open a
> pinned
> tab when the pinned tab pref is set), and my opinion is that behavior, we
> need
> to approach launching differently.
>
> I don't want to try and implement our own click heuristics, so instead,
> what I
> would recommend is hooking in at a lower level. Perhaps we can get
> notifications
> at the DOMUI layer, or lower, that RVH is creating a new tab, and create
> the
> right kind of tab there.
>
> So that's why I'm LG'ing this current code for now -- I think the
> middle-click
> issue should be addressed separately.
>
>
> http://codereview.chromium.org/4708002/
>

Powered by Google App Engine
This is Rietveld 408576698