|
|
DescriptionClean Read/SetExperimentLabels to remove check for Chrome build.
BUG=729181
Review-Url: https://codereview.chromium.org/2919963002
Cr-Commit-Position: refs/heads/master@{#476846}
Committed: https://chromium.googlesource.com/chromium/src/+/9bb8c3f9afda43f4da242c0bb4bd5f500fe160bb
Patch Set 1 #
Total comments: 4
Patch Set 2 : Deleting windows specific code in chrome build to clean experiment labels #
Total comments: 2
Patch Set 3 : Fix includes in chrome_variations_service_client.cc #
Messages
Total messages: 28 (16 generated)
nikunjb@google.com changed reviewers: + grt@chromium.org, isherman@chromium.org, nikunjb@google.com, skare@chromium.org
Separate out check for google chrome build from helper functions Read/SetExperimentLabels in google_update_settings.cc
The CQ bit was checked by grt@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
thanks. this will increase test coverage on Chromium builds so that we can spot regressions on the Chromium waterfall rather than waiting for the continuous waterfall. lgtm.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... chrome/browser/metrics/variations/chrome_variations_service_client.cc:20: #include "chrome/installer/util/install_modes.h" installer/util -> install_static and move into proper sorted position
asvitkine@chromium.org changed reviewers: + asvitkine@chromium.org
https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... chrome/browser/metrics/variations/chrome_variations_service_client.cc:53: // labels (M57-M58 timeframe). We have a TODO here to remove this code entirely. Instead of making further changes, can we simply delete this code? (The context is we used to integrate with Google Update to plumb some experiments through to it. When we removed this support last year, we left this code in to clean up existing registry keys. By this point, they've probably all been cleaned up and we could just delete this code.)
https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... chrome/browser/metrics/variations/chrome_variations_service_client.cc:53: // labels (M57-M58 timeframe). On 2017/06/02 15:11:41, Alexei Svitkine (slow) wrote: > We have a TODO here to remove this code entirely. Instead of making further > changes, can we simply delete this code? > > (The context is we used to integrate with Google Update to plumb some > experiments through to it. When we removed this support last year, we left this > code in to clean up existing registry keys. By this point, they've probably all > been cleaned up and we could just delete this code.) SGTM to delete the code in metrics. We're keeping the code in installer/util for use in the upcoming retention experiment.
On 2017/06/02 15:16:52, grt (no reviews June 5) wrote: > https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... > File chrome/browser/metrics/variations/chrome_variations_service_client.cc > (right): > > https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... > chrome/browser/metrics/variations/chrome_variations_service_client.cc:53: // > labels (M57-M58 timeframe). > On 2017/06/02 15:11:41, Alexei Svitkine (slow) wrote: > > We have a TODO here to remove this code entirely. Instead of making further > > changes, can we simply delete this code? > > > > (The context is we used to integrate with Google Update to plumb some > > experiments through to it. When we removed this support last year, we left > this > > code in to clean up existing registry keys. By this point, they've probably > all > > been cleaned up and we could just delete this code.) > > SGTM to delete the code in metrics. We're keeping the code in installer/util for > use in the upcoming retention experiment. Done. Deleted code for cleaning experiment labels on variations server startup (Just wondering, I think cleaning registry can also be done directly from installer on update)
lgtm % comment Please associate this change with a crbug https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... chrome/browser/metrics/variations/chrome_variations_service_client.cc:18: #include "base/threading/thread_restrictions.h" Can some of these includes be removed now that you're removing corresponding code?
The CQ bit was checked by nikunjb@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... chrome/browser/metrics/variations/chrome_variations_service_client.cc:20: #include "chrome/installer/util/install_modes.h" On 2017/06/02 13:29:28, grt (no reviews June 5) wrote: > installer/util -> install_static > and move into proper sorted position Acknowledged. (No longer needed) https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... chrome/browser/metrics/variations/chrome_variations_service_client.cc:18: #include "base/threading/thread_restrictions.h" On 2017/06/02 20:56:57, Alexei Svitkine (slow) wrote: > Can some of these includes be removed now that you're removing corresponding > code? Done. Removed all includes here (none were needed anymore)
On 2017/06/02 21:31:43, nikunjb wrote: > https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... > File chrome/browser/metrics/variations/chrome_variations_service_client.cc > (right): > > https://codereview.chromium.org/2919963002/diff/1/chrome/browser/metrics/vari... > chrome/browser/metrics/variations/chrome_variations_service_client.cc:20: > #include "chrome/installer/util/install_modes.h" > On 2017/06/02 13:29:28, grt (no reviews June 5) wrote: > > installer/util -> install_static > > and move into proper sorted position > > Acknowledged. (No longer needed) > > https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... > File chrome/browser/metrics/variations/chrome_variations_service_client.cc > (right): > > https://codereview.chromium.org/2919963002/diff/20001/chrome/browser/metrics/... > chrome/browser/metrics/variations/chrome_variations_service_client.cc:18: > #include "base/threading/thread_restrictions.h" > On 2017/06/02 20:56:57, Alexei Svitkine (slow) wrote: > > Can some of these includes be removed now that you're removing corresponding > > code? > > Done. Removed all includes here (none were needed anymore) Attaching bug 729181 (https://bugs.chromium.org/p/chromium/issues/detail?id=729181) to the change.
Description was changed from ========== Clean Read/SetExperimentLabels to remove check for Chrome build. BUG= ========== to ========== Clean Read/SetExperimentLabels to remove check for Chrome build. BUG=729181 ==========
The CQ bit was checked by nikunjb@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
I think you no longer need my review, but the metrics changes lgtm -- thanks!
The CQ bit was unchecked by nikunjb@google.com
The CQ bit was checked by nikunjb@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from grt@chromium.org, asvitkine@chromium.org Link to the patchset: https://codereview.chromium.org/2919963002/#ps40001 (title: "Fix includes in chrome_variations_service_client.cc")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1496447278933730, "parent_rev": "0b479f2338e67a4d5ad7922ab9760b7b7137916b", "commit_rev": "9bb8c3f9afda43f4da242c0bb4bd5f500fe160bb"}
Message was sent while issue was closed.
Description was changed from ========== Clean Read/SetExperimentLabels to remove check for Chrome build. BUG=729181 ========== to ========== Clean Read/SetExperimentLabels to remove check for Chrome build. BUG=729181 Review-Url: https://codereview.chromium.org/2919963002 Cr-Commit-Position: refs/heads/master@{#476846} Committed: https://chromium.googlesource.com/chromium/src/+/9bb8c3f9afda43f4da242c0bb4bd... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/9bb8c3f9afda43f4da242c0bb4bd... |