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

Issue 1413153010: Move components/startup_metric_utils/* to components/startup_metric_utils/browser/*. (Closed)

Created:
5 years, 1 month ago by fdoray
Modified:
5 years, 1 month ago
Reviewers:
gab, sky, Cait (Slow)
CC:
chromium-reviews, extensions-reviews_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, noyau+watch_chromium.org, asvitkine+watch_chromium.org, tfarina, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move components/startup_metric_utils/* to components/startup_metric_utils/browser/*. This CL first landed as revision 357702. It was reverted because of an XP-only perf regression (crbug.com/551690). After discussion with jschuh@, it was decided that this regression can be ignored. We are working on new startup metrics that require sending IPCs from the renderer to the browser. The message definitions will live in components/startup_metric_utils/common/*, while the code that receives IPCs and logs UMA metrics will live in components/startup_metric_utils/browser/*. As a first step towards implementing these new metrics, this CL moves existing code from components/startup_metric_utils/* to components/startup_metric_utils/browser/*. BUG=547794 Committed: https://crrev.com/45c02c1698aecadaa7ef2fa50894af672045adcf Cr-Commit-Position: refs/heads/master@{#358636}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove chrome_child.dll dependency on startup_metric_utils. #

Total comments: 3

Patch Set 3 : check if we are in browser process + rebase (oops... should have done 2 separate patches). #

Patch Set 4 : don't check command line in ChromeMainDelegate constructor. #

Total comments: 1

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -668 lines) Patch
M chrome/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/android/chrome_main_delegate_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/chrome_exe_main_win.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 chunks +19 lines, -4 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_internal_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/mac/mac_startup_profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/first_web_contents_profiler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/simple_message_box_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/simple_message_box_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/bookmarks.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M components/bookmarks/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M components/bookmarks/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/html_viewer/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/stats_collection_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/startup_metric_utils.gypi View 2 chunks +3 lines, -3 lines 0 comments Download
D components/startup_metric_utils/BUILD.gn View 1 chunk +0 lines, -14 lines 0 comments Download
A + components/startup_metric_utils/browser/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
A + components/startup_metric_utils/browser/startup_metric_utils.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/startup_metric_utils/browser/startup_metric_utils.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D components/startup_metric_utils/startup_metric_utils.h View 1 2 1 chunk +0 lines, -107 lines 0 comments Download
D components/startup_metric_utils/startup_metric_utils.cc View 1 2 3 4 5 1 chunk +0 lines, -508 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
fdoray
@gab: Could you do a first review for this CL? Thanks.
5 years, 1 month ago (2015-10-27 20:19:10 UTC) #2
gab
lg and happy to see some unused dependencies cleanup :-), but one question about one ...
5 years, 1 month ago (2015-10-29 11:57:21 UTC) #3
fdoray
gab@: Could you take another look? Thanks. https://codereview.chromium.org/1413153010/diff/1/chrome/chrome_dll.gypi File chrome/chrome_dll.gypi (right): https://codereview.chromium.org/1413153010/diff/1/chrome/chrome_dll.gypi#newcode342 chrome/chrome_dll.gypi:342: '../components/components.gyp:startup_metric_utils_browser', On ...
5 years, 1 month ago (2015-10-29 15:04:47 UTC) #4
gab
Thanks, reply below. Note: not a big deal this time, but best practice is to ...
5 years, 1 month ago (2015-10-29 16:03:27 UTC) #5
fdoray
gab@: Could you take another look? Thanks. https://codereview.chromium.org/1413153010/diff/20001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/1413153010/diff/20001/chrome/app/chrome_main_delegate.cc#newcode433 chrome/app/chrome_main_delegate.cc:433: RecordMainStartupMetrics(); On ...
5 years, 1 month ago (2015-10-29 17:00:01 UTC) #6
gab
lgtm, thanks https://codereview.chromium.org/1413153010/diff/20001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/1413153010/diff/20001/chrome/app/chrome_main_delegate.cc#newcode433 chrome/app/chrome_main_delegate.cc:433: RecordMainStartupMetrics(); On 2015/10/29 17:00:01, fdoray wrote: > ...
5 years, 1 month ago (2015-10-29 17:18:28 UTC) #7
fdoray
sky@: Could you review chrome/, components/bookmarks/ and components/html_viewer? caitkp@: Could you review components/BUILD.gn and components/startup_metric_utils.gypi? ...
5 years, 1 month ago (2015-10-30 18:15:31 UTC) #9
fdoray
sky@: Could you review chrome/, components/bookmarks/ and components/html_viewer? caitkp@: Could you review components/BUILD.gn and components/startup_metric_utils.gypi? ...
5 years, 1 month ago (2015-10-30 18:16:02 UTC) #11
Cait (Slow)
components/BUILD.gn and components/startup_metric_utils.gypi LGTM
5 years, 1 month ago (2015-11-02 23:12:00 UTC) #12
fdoray
caitkp@: Thanks! sky@: Could you review chrome/*?
5 years, 1 month ago (2015-11-02 23:14:19 UTC) #13
Cait (Slow)
On 2015/11/02 23:14:19, fdoray wrote: > caitkp@: Thanks! > sky@: Could you review chrome/*? Note ...
5 years, 1 month ago (2015-11-02 23:16:51 UTC) #14
fdoray
sky@: Could you review chrome/, components/bookmarks/ and components/html_viewer?
5 years, 1 month ago (2015-11-03 19:06:49 UTC) #15
sky
LGTM
5 years, 1 month ago (2015-11-03 23:29:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413153010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413153010/80001
5 years, 1 month ago (2015-11-03 23:45:39 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-04 01:16:51 UTC) #20
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/055d3862641a91e4a5ff2a49bd5d0f835f0436d1 Cr-Commit-Position: refs/heads/master@{#357702}
5 years, 1 month ago (2015-11-04 01:18:15 UTC) #21
fdoray
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1431053003/ by fdoray@chromium.org. ...
5 years, 1 month ago (2015-11-05 22:38:00 UTC) #22
fdoray
Re-opening the CL. The CL first landed as revision 357702. It was reverted because of ...
5 years, 1 month ago (2015-11-09 18:55:18 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413153010/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413153010/100001
5 years, 1 month ago (2015-11-09 18:57:38 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-09 20:14:39 UTC) #30
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 20:15:27 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/45c02c1698aecadaa7ef2fa50894af672045adcf
Cr-Commit-Position: refs/heads/master@{#358636}

Powered by Google App Engine
This is Rietveld 408576698