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

Issue 2933953002: Make --enable-benchmarking not affect metrics recording. (Closed)

Created:
3 years, 6 months ago by Alexei Svitkine (slow)
Modified:
3 years, 6 months ago
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, asvitkine+watch_chromium.org, etienneb, lpromero
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make --enable-benchmarking not affect metrics recording. Previously, it would cause metrics to be in a special mode where metrics are recorded but never reported, which caused unbounded accumulation of data, such as user actions, in the UMA protos. This test-only mode didn't seem necessary, so removing it. This also allowed a bunch of simplification, by removing a client interface and its implementation, moving a switch to the metrics component and removing some ios versions of the code. BUG=730091 Review-Url: https://codereview.chromium.org/2933953002 Cr-Commit-Position: refs/heads/master@{#479511} Committed: https://chromium.googlesource.com/chromium/src/+/de445d97963c2efe33e244fa60678173a6a3c2c8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -35 lines) Patch
M chrome/browser/metrics/chrome_metrics_services_manager_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_services_manager_client.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/metrics/metrics_service_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M components/metrics/metrics_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/metrics/metrics_switches.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M components/metrics_services_manager/metrics_services_manager.cc View 2 chunks +4 lines, -1 line 0 comments Download
M components/metrics_services_manager/metrics_services_manager_client.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ios/chrome/browser/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/chrome_switches.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_services_manager_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/metrics/ios_chrome_metrics_services_manager_client.mm View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (19 generated)
Alexei Svitkine (slow)
3 years, 6 months ago (2017-06-12 21:27:51 UTC) #11
rkaplow
lgtm
3 years, 6 months ago (2017-06-14 17:41:49 UTC) #16
Alexei Svitkine (slow)
+lpromero for ios/ OWNERS
3 years, 6 months ago (2017-06-14 17:51:48 UTC) #18
Alexei Svitkine (slow)
-lpromero +rohitrao Since I also need ios/ owners for ios/chrome/browser/chrome_switches.cc - which lpromero@ doesn't cover.
3 years, 6 months ago (2017-06-14 17:53:32 UTC) #20
rohitrao (ping after 24h)
ios lgtm
3 years, 6 months ago (2017-06-14 20:01:07 UTC) #21
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/2933953002/40001
3 years, 6 months ago (2017-06-14 20:02:24 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 21:38:18 UTC) #26
Message was sent while issue was closed.
Committed patchset #1 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/de445d97963c2efe33e244fa6067...

Powered by Google App Engine
This is Rietveld 408576698