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

Issue 2861563002: Add an override flag to enable metrics reporting. (Closed)

Created:
3 years, 7 months ago by Steven Holte
Modified:
3 years, 7 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an override flag to enable metrics reporting. This simplifies local testing of metrics collection, particularly in dev builds. BUG=717792 Review-Url: https://codereview.chromium.org/2861563002 Cr-Commit-Position: refs/heads/master@{#469526} Committed: https://chromium.googlesource.com/chromium/src/+/8d28e669ef279c46b174cc78a5a24c729fb720a5

Patch Set 1 #

Patch Set 2 : Rename flags & functions #

Total comments: 2

Patch Set 3 : Rename to IsMetricsReportingForceEnabled #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -2 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_services_manager_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_services_manager_client.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M components/metrics_services_manager/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics_services_manager/metrics_services_manager.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/metrics_services_manager/metrics_services_manager_client.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A components/metrics_services_manager/metrics_services_manager_client.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Steven Holte
3 years, 7 months ago (2017-05-03 00:10:50 UTC) #3
Alexei Svitkine (slow)
I'm not sure we really need this. Especially since we're currently not doing any tagging ...
3 years, 7 months ago (2017-05-03 19:09:36 UTC) #4
Steven Holte
On 2017/05/03 19:09:36, Alexei Svitkine (slow) wrote: > I'm not sure we really need this. ...
3 years, 7 months ago (2017-05-03 19:46:40 UTC) #5
Alexei Svitkine (slow)
I'd rather we call the flag just --enable-metrics-reporting-for-testing or similar, then. Since there's no affect ...
3 years, 7 months ago (2017-05-03 20:13:50 UTC) #6
Steven Holte
On 2017/05/03 20:13:50, Alexei Svitkine (slow) wrote: > I'd rather we call the flag just ...
3 years, 7 months ago (2017-05-04 21:30:49 UTC) #7
Alexei Svitkine (slow)
Hmm, good point about the presubmits - that's not ideal. So maybe instead of for-testing ...
3 years, 7 months ago (2017-05-04 21:36:01 UTC) #8
Steven Holte
https://codereview.chromium.org/2861563002/diff/20001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/2861563002/diff/20001/chrome/common/chrome_switches.cc#newcode359 chrome/common/chrome_switches.cc:359: // Forces metrics reporting to be enabled and may ...
3 years, 7 months ago (2017-05-04 22:07:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861563002/40001
3 years, 7 months ago (2017-05-04 22:14:53 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/261155) chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-04 22:18:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861563002/60001
3 years, 7 months ago (2017-05-04 22:41:29 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 23:50:55 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8d28e669ef279c46b174cc78a5a2...

Powered by Google App Engine
This is Rietveld 408576698