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

Issue 1161133004: Delete code corresponding to old UMA prefs. (Closed)

Created:
5 years, 6 months ago by Alexei Svitkine (slow)
Modified:
5 years, 6 months ago
Reviewers:
gfhuang, jwd, gunsch
CC:
chromium-reviews, gunsch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete code corresponding to old UMA prefs. Sufficient time has passed that the vast majority of users have migrated. BUG=357704 Committed: https://crrev.com/f2e0aaae2dcf8421d6f3117aeecd4decf353a946 Cr-Commit-Position: refs/heads/master@{#332268}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Address comments. #

Patch Set 4 : Restore enable date pref set and update Chromecast code. #

Total comments: 2

Patch Set 5 : Keep Chromecast logic. #

Total comments: 2

Patch Set 6 : Moar comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -27 lines) Patch
M chromecast/browser/metrics/cast_metrics_service_client.cc View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M components/metrics/metrics_pref_names.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics/metrics_pref_names.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M components/metrics/metrics_state_manager.cc View 1 2 3 3 chunks +3 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
Alexei Svitkine (slow)
5 years, 6 months ago (2015-05-29 18:40:15 UTC) #2
jwd
https://codereview.chromium.org/1161133004/diff/1/components/metrics/metrics_state_manager.cc File components/metrics/metrics_state_manager.cc (right): https://codereview.chromium.org/1161133004/diff/1/components/metrics/metrics_state_manager.cc#newcode127 components/metrics/metrics_state_manager.cc:127: if (local_state_->GetString(prefs::kMetricsOldClientID).empty()) { What about this migration code, and ...
5 years, 6 months ago (2015-05-29 18:46:22 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/1161133004/diff/1/components/metrics/metrics_state_manager.cc File components/metrics/metrics_state_manager.cc (right): https://codereview.chromium.org/1161133004/diff/1/components/metrics/metrics_state_manager.cc#newcode127 components/metrics/metrics_state_manager.cc:127: if (local_state_->GetString(prefs::kMetricsOldClientID).empty()) { On 2015/05/29 18:46:22, Jesse Doherty wrote: ...
5 years, 6 months ago (2015-05-29 18:59:17 UTC) #4
jwd
lgtm
5 years, 6 months ago (2015-05-29 19:01:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161133004/40001
5 years, 6 months ago (2015-05-29 19:04:38 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/15234)
5 years, 6 months ago (2015-05-29 19:25:44 UTC) #9
Alexei Svitkine (slow)
Oops, my last CL accidentally killed the code to set the enabled data, which a ...
5 years, 6 months ago (2015-05-29 19:46:47 UTC) #11
gfhuang
https://codereview.chromium.org/1161133004/diff/60001/chromecast/browser/metrics/cast_metrics_service_client.cc File chromecast/browser/metrics/cast_metrics_service_client.cc (left): https://codereview.chromium.org/1161133004/diff/60001/chromecast/browser/metrics/cast_metrics_service_client.cc#oldcode75 chromecast/browser/metrics/cast_metrics_service_client.cc:75: if (!pref_service_->GetString(::metrics::prefs::kMetricsOldClientID) can you keep this logic and just ...
5 years, 6 months ago (2015-05-29 19:54:03 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/1161133004/diff/60001/chromecast/browser/metrics/cast_metrics_service_client.cc File chromecast/browser/metrics/cast_metrics_service_client.cc (left): https://codereview.chromium.org/1161133004/diff/60001/chromecast/browser/metrics/cast_metrics_service_client.cc#oldcode75 chromecast/browser/metrics/cast_metrics_service_client.cc:75: if (!pref_service_->GetString(::metrics::prefs::kMetricsOldClientID) On 2015/05/29 19:54:03, gfhuang wrote: > can ...
5 years, 6 months ago (2015-05-29 20:13:23 UTC) #14
gunsch
https://codereview.chromium.org/1161133004/diff/100001/chromecast/browser/metrics/cast_metrics_service_client.cc File chromecast/browser/metrics/cast_metrics_service_client.cc (right): https://codereview.chromium.org/1161133004/diff/100001/chromecast/browser/metrics/cast_metrics_service_client.cc#newcode18 chromecast/browser/metrics/cast_metrics_service_client.cc:18: #include "components/metrics/metrics_pref_names.h" I think you can remove this include ...
5 years, 6 months ago (2015-05-29 20:14:30 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/1161133004/diff/100001/chromecast/browser/metrics/cast_metrics_service_client.cc File chromecast/browser/metrics/cast_metrics_service_client.cc (right): https://codereview.chromium.org/1161133004/diff/100001/chromecast/browser/metrics/cast_metrics_service_client.cc#newcode18 chromecast/browser/metrics/cast_metrics_service_client.cc:18: #include "components/metrics/metrics_pref_names.h" On 2015/05/29 20:14:30, gunsch wrote: > I ...
5 years, 6 months ago (2015-05-29 20:31:49 UTC) #17
Alexei Svitkine (slow)
gfhuang/gunsch: friendly ping
5 years, 6 months ago (2015-06-01 19:04:08 UTC) #18
gunsch
Thanks for ping, thought I'd stamped. lgtm
5 years, 6 months ago (2015-06-01 19:09:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161133004/120001
5 years, 6 months ago (2015-06-01 20:02:59 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 6 months ago (2015-06-01 21:23:27 UTC) #23
commit-bot: I haz the power
5 years, 6 months ago (2015-06-01 21:24:14 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f2e0aaae2dcf8421d6f3117aeecd4decf353a946
Cr-Commit-Position: refs/heads/master@{#332268}

Powered by Google App Engine
This is Rietveld 408576698