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

Issue 1945393002: Create and integrate a metrics service client into Blimp engine. (Closed)

Created:
4 years, 7 months ago by Jess
Modified:
4 years, 7 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create and integrate a metrics service client into Blimp engine. This is a reland of https://codereview.chromium.org/1885673003/ This will allow Blimp to collect and upload metrics to aid in development. BUG=592757 Committed: https://crrev.com/53edab71d14e3dbd4b9b767d6708e661bf329648 Cr-Commit-Position: refs/heads/master@{#393063}

Patch Set 1 : Equivalent to patchset 13 of original issue. #

Patch Set 2 : Added unittest and resolve PerfService ownership. LazyInstance issues TBD. #

Patch Set 3 : Rebase on top of fix for http://crbug/609998 #

Patch Set 4 : Add missing dep caught by analysis runs. #

Patch Set 5 : Another dep from analysis. #

Patch Set 6 : Use TestBrowserThreadBundle instead of deprecated TestBrowserThread. #

Total comments: 6

Patch Set 7 : Comments follow up. #

Total comments: 8

Patch Set 8 : Additional comments follow up. #

Total comments: 24

Patch Set 9 : Adding anonymous namespace. #

Patch Set 10 : Follow up on comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -1 line) Patch
M blimp/engine/BUILD.gn View 1 2 3 4 8 chunks +61 lines, -1 line 0 comments Download
M blimp/engine/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A blimp/engine/app/blimp_metrics_service_client.h View 1 2 3 4 5 6 7 8 9 1 chunk +78 lines, -0 lines 0 comments Download
A blimp/engine/app/blimp_metrics_service_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +167 lines, -0 lines 0 comments Download
A blimp/engine/app/blimp_metrics_service_client_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +105 lines, -0 lines 0 comments Download
M blimp/engine/common/blimp_browser_context.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M blimp/engine/common/blimp_browser_context.cc View 1 2 3 chunks +34 lines, -0 lines 0 comments Download
A blimp/engine/common/blimp_browser_context_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Jess
This is a reland of the previous review. The first patch here is equivalent to ...
4 years, 7 months ago (2016-05-09 21:12:26 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/1945393002/diff/100001/blimp/engine/app/blimp_metrics_service_client.cc File blimp/engine/app/blimp_metrics_service_client.cc (right): https://codereview.chromium.org/1945393002/diff/100001/blimp/engine/app/blimp_metrics_service_client.cc#newcode62 blimp/engine/app/blimp_metrics_service_client.cc:62: DCHECK(metrics_state_manager_.get()); Nit: std::unique_ptr has a bool conversion operator, so ...
4 years, 7 months ago (2016-05-10 08:51:42 UTC) #4
Jess
https://codereview.chromium.org/1945393002/diff/100001/blimp/engine/app/blimp_metrics_service_client.cc File blimp/engine/app/blimp_metrics_service_client.cc (right): https://codereview.chromium.org/1945393002/diff/100001/blimp/engine/app/blimp_metrics_service_client.cc#newcode62 blimp/engine/app/blimp_metrics_service_client.cc:62: DCHECK(metrics_state_manager_.get()); On 2016/05/10 08:51:42, Bernhard Bauer wrote: > Nit: ...
4 years, 7 months ago (2016-05-10 17:30:03 UTC) #5
Alexei Svitkine (slow)
lgtm still lgtm with some new nits https://codereview.chromium.org/1945393002/diff/120001/blimp/engine/common/blimp_browser_context_unittest.cc File blimp/engine/common/blimp_browser_context_unittest.cc (right): https://codereview.chromium.org/1945393002/diff/120001/blimp/engine/common/blimp_browser_context_unittest.cc#newcode19 blimp/engine/common/blimp_browser_context_unittest.cc:19: protected: Nit: ...
4 years, 7 months ago (2016-05-10 17:38:07 UTC) #6
Jess
https://codereview.chromium.org/1945393002/diff/120001/blimp/engine/common/blimp_browser_context_unittest.cc File blimp/engine/common/blimp_browser_context_unittest.cc (right): https://codereview.chromium.org/1945393002/diff/120001/blimp/engine/common/blimp_browser_context_unittest.cc#newcode19 blimp/engine/common/blimp_browser_context_unittest.cc:19: protected: On 2016/05/10 17:38:07, Alexei Svitkine wrote: > Nit: ...
4 years, 7 months ago (2016-05-10 18:23:49 UTC) #7
Bernhard Bauer
lgtm https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client_unittest.cc File blimp/engine/app/blimp_metrics_service_client_unittest.cc (right): https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client_unittest.cc#newcode28 blimp/engine/app/blimp_metrics_service_client_unittest.cc:28: void HandleReadError(PersistentPrefStore::PrefReadError error) { Put this into an ...
4 years, 7 months ago (2016-05-11 08:53:14 UTC) #8
Jess
Thanks for the DEPs reviews! https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client_unittest.cc File blimp/engine/app/blimp_metrics_service_client_unittest.cc (right): https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client_unittest.cc#newcode28 blimp/engine/app/blimp_metrics_service_client_unittest.cc:28: void HandleReadError(PersistentPrefStore::PrefReadError error) { ...
4 years, 7 months ago (2016-05-11 17:07:25 UTC) #9
Jess
Thanks for the DEPs reviews!
4 years, 7 months ago (2016-05-11 17:07:26 UTC) #10
Kevin M
Some minor-ish stuff... https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client.cc File blimp/engine/app/blimp_metrics_service_client.cc (right): https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client.cc#newcode29 blimp/engine/app/blimp_metrics_service_client.cc:29: // How often after initial logging ...
4 years, 7 months ago (2016-05-11 17:08:42 UTC) #12
Jess
https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client.cc File blimp/engine/app/blimp_metrics_service_client.cc (right): https://codereview.chromium.org/1945393002/diff/140001/blimp/engine/app/blimp_metrics_service_client.cc#newcode29 blimp/engine/app/blimp_metrics_service_client.cc:29: // How often after initial logging metrics results should ...
4 years, 7 months ago (2016-05-11 20:17:30 UTC) #13
Kevin M
lgtm
4 years, 7 months ago (2016-05-11 20:36:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945393002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945393002/180001
4 years, 7 months ago (2016-05-11 21:01:02 UTC) #17
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-05-11 21:34:58 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 21:36:11 UTC) #21
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/53edab71d14e3dbd4b9b767d6708e661bf329648
Cr-Commit-Position: refs/heads/master@{#393063}

Powered by Google App Engine
This is Rietveld 408576698