New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 717792 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Create an override to enable metrics collection for examples and testing.

Project Member Reported by holte@chromium.org, May 3 2017

Issue description

Enabling UKM for testing metrics is fairly complicated right now since you have to actually override a piece of source, and also sign in a profile with sync enabled.

Create an easy way to override this with a flag or command line switch.
 
Project Member

Comment 1 by bugdroid1@chromium.org, May 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8d28e669ef279c46b174cc78a5a24c729fb720a5

commit 8d28e669ef279c46b174cc78a5a24c729fb720a5
Author: holte <holte@chromium.org>
Date: Thu May 04 23:50:43 2017

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}

[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/browser/metrics/chrome_metrics_service_client.cc
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/browser/metrics/chrome_metrics_service_client.h
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/browser/metrics/chrome_metrics_services_manager_client.cc
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/browser/metrics/chrome_metrics_services_manager_client.h
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/common/chrome_switches.cc
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/chrome/common/chrome_switches.h
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/components/metrics_services_manager/BUILD.gn
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/components/metrics_services_manager/metrics_services_manager.cc
[add] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/components/metrics_services_manager/metrics_services_manager_client.cc
[modify] https://crrev.com/8d28e669ef279c46b174cc78a5a24c729fb720a5/components/metrics_services_manager/metrics_services_manager_client.h

Comment 2 by holte@chromium.org, Jul 18 2017

Status: Fixed (was: Started)

Sign in to add a comment