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

Issue 8086002: Add metrics to help measure effects of installing default apps in a profile. (Closed)

Created:
9 years, 2 months ago by Roger Tawa OOO till Jul 10th
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Erik does not do reviews, achuith+watch_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, estade+watch_chromium.org
Visibility:
Public.

Description

Add metrics to help measure effects of installing default apps in a profile for the defaults field trial. Evan: please review the webui changes. Antony: plase review the extension changes. Miranda: please review the profile changes. Scott: please review the browser.cc BUG=94920 TEST=No user visible change. New metrics should be available in UMA. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105253

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressing review comments #

Patch Set 3 : Addressing spacing #

Total comments: 4

Patch Set 4 : Uploading merges after sync #

Total comments: 10

Patch Set 5 : Remove anon namespace, make static #

Patch Set 6 : Remove DCHECK, since this does happen in unit test AvatarMenuModelTest.InitialCreation #

Total comments: 2

Patch Set 7 : Change events to histograms #

Total comments: 8

Patch Set 8 : Addressing review comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -78 lines) Patch
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -58 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 3 chunks +89 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 2 3 4 5 6 7 3 chunks +45 lines, -9 lines 2 comments Download

Messages

Total messages: 26 (0 generated)
Roger Tawa OOO till Jul 10th
Hi Antony, Evan, Miranda, Scott, Please take a look. Thanks.
9 years, 2 months ago (2011-09-29 17:43:14 UTC) #1
csilv
webui lgtm. please consider suggested changes in comments. http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode36 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:36: kDefaultAppsTrial_Name); ...
9 years, 2 months ago (2011-09-29 18:32:04 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks Chris. Comments addressed, changes uploaded. http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode36 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:36: kDefaultAppsTrial_Name); On 2011/09/29 ...
9 years, 2 months ago (2011-09-29 19:10:58 UTC) #3
sky
LGTM. If you haven't already, you should make sure Jim sees this too. http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/browser.cc File ...
9 years, 2 months ago (2011-09-29 19:11:09 UTC) #4
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/8086002/diff/1/chrome/browser/ui/browser.cc#newcode706 chrome/browser/ui/browser.cc:706: launch_type, 100); On 2011/09/29 19:11:09, sky wrote: > nit: ...
9 years, 2 months ago (2011-09-29 19:20:18 UTC) #5
asargent_no_longer_on_chrome
extensions part LGTM http://codereview.chromium.org/8086002/diff/17/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/8086002/diff/17/chrome/browser/extensions/crx_installer.cc#newcode543 chrome/browser/extensions/crx_installer.cc:543: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); I assume you already noticed ...
9 years, 2 months ago (2011-09-29 20:46:29 UTC) #6
Roger Tawa OOO till Jul 10th
Thanks Antony, see below. http://codereview.chromium.org/8086002/diff/17/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/8086002/diff/17/chrome/browser/extensions/crx_installer.cc#newcode543 chrome/browser/extensions/crx_installer.cc:543: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); On 2011/09/29 20:46:29, Antony ...
9 years, 2 months ago (2011-09-29 22:17:38 UTC) #7
Miranda Callahan
On 2011/09/29 22:17:38, Roger Tawa wrote: > Thanks Antony, see below. > > http://codereview.chromium.org/8086002/diff/17/chrome/browser/extensions/crx_installer.cc > ...
9 years, 2 months ago (2011-09-30 09:28:31 UTC) #8
Evan Stade
http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode26 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:26: } // anonymous is there a difference? http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode41 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:41: ...
9 years, 2 months ago (2011-10-04 16:58:32 UTC) #9
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode26 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:26: } // anonymous On 2011/10/04 16:58:33, Evan Stade wrote: ...
9 years, 2 months ago (2011-10-04 17:38:45 UTC) #10
Evan Stade
http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode26 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:26: } // anonymous On 2011/10/04 17:38:46, Roger Tawa wrote: ...
9 years, 2 months ago (2011-10-04 17:54:35 UTC) #11
Roger Tawa OOO till Jul 10th
Hi Evan, comments addressed, changes uploaded. Please take another look. http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/9001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode26 ...
9 years, 2 months ago (2011-10-04 18:15:25 UTC) #12
Evan Stade
I find style followups don't tend to get prioritized and this one would only take ...
9 years, 2 months ago (2011-10-04 18:22:32 UTC) #13
Roger Tawa OOO till Jul 10th
Thanks Evan. I prefer a different CL to keep each changed focused.
9 years, 2 months ago (2011-10-04 18:26:47 UTC) #14
jar (doing other things)
http://codereview.chromium.org/8086002/diff/9008/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/8086002/diff/9008/chrome/browser/extensions/extension_service.cc#newcode971 chrome/browser/extensions/extension_service.cc:971: UserMetrics::RecordComputedAction( I suspect you'd be much better off using ...
9 years, 2 months ago (2011-10-05 17:42:16 UTC) #15
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/8086002/diff/9008/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/8086002/diff/9008/chrome/browser/extensions/extension_service.cc#newcode971 chrome/browser/extensions/extension_service.cc:971: UserMetrics::RecordComputedAction( On 2011/10/05 17:42:16, jar wrote: > I suspect ...
9 years, 2 months ago (2011-10-12 14:46:22 UTC) #16
Evan Stade
lgtm pending nits http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode36 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:36: shown_page_type, 4); ah I just had ...
9 years, 2 months ago (2011-10-13 00:07:50 UTC) #17
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode36 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:36: shown_page_type, 4); On 2011/10/13 00:07:51, Evan Stade wrote: > ...
9 years, 2 months ago (2011-10-13 00:39:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/8086002/24001
9 years, 2 months ago (2011-10-13 01:42:48 UTC) #19
commit-bot: I haz the power
Change committed as 105253
9 years, 2 months ago (2011-10-13 03:47:20 UTC) #20
jar (doing other things)
http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h File chrome/browser/ui/webui/ntp/new_tab_page_handler.h (right): http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h#newcode61 chrome/browser/ui/webui/ntp/new_tab_page_handler.h:61: BOOKMARKS_PAGE_ID = 3 << PAGE_ID_OFFSET, This looks like you're ...
9 years, 2 months ago (2011-10-13 22:16:53 UTC) #21
jar (doing other things)
http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h File chrome/browser/ui/webui/ntp/new_tab_page_handler.h (right): http://codereview.chromium.org/8086002/diff/18001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h#newcode61 chrome/browser/ui/webui/ntp/new_tab_page_handler.h:61: BOOKMARKS_PAGE_ID = 3 << PAGE_ID_OFFSET, I retract my comment. ...
9 years, 2 months ago (2011-10-13 22:22:07 UTC) #22
Evan Stade
http://codereview.chromium.org/8086002/diff/24001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/24001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode44 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:44: shown_page_type, 4); sorry for not being specific enough. My ...
9 years, 2 months ago (2011-10-14 17:05:52 UTC) #23
Roger Tawa OOO till Jul 10th
http://codereview.chromium.org/8086002/diff/24001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8086002/diff/24001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode44 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:44: shown_page_type, 4); On 2011/10/14 17:05:52, Evan Stade wrote: > ...
9 years, 2 months ago (2011-10-14 19:21:12 UTC) #24
Evan Stade
how's that style-fixing follow up CL coming?
9 years, 1 month ago (2011-11-15 18:04:44 UTC) #25
Roger Tawa OOO till Jul 10th
9 years, 1 month ago (2011-11-15 18:14:06 UTC) #26
On 2011/11/15 18:04:44, Evan Stade wrote:
> how's that style-fixing follow up CL coming?

Still on my radar.  Glad I hadn't tackled it yet actually, since there were some
follow up CL that needed to be merged into M16.  Once I know default apps are
working smoothly in M16, you'll get to review it.

Powered by Google App Engine
This is Rietveld 408576698