|
|
Created:
4 years, 1 month ago by lawrencewu Modified:
4 years, 1 month ago CC:
chromium-reviews, asvitkine+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMove VariationsParamAssociator to base
Moves VariationsParamAssociator to base as FieldTrialParamAssociator
and just reroutes the calls in variations_associated_data.cc to this
new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory.
BUG=660038
Committed: https://crrev.com/5d5ac0c30be692e2e918121e140a869af36f8dc2
Cr-Commit-Position: refs/heads/master@{#428710}
Patch Set 1 #
Total comments: 10
Patch Set 2 : address comments #Patch Set 3 : fix compile error #Patch Set 4 : rebase-update #
Messages
Total messages: 27 (17 generated)
lawrencewu@chromium.org changed reviewers: + asvitkine@chromium.org
First step of the plan to eventually get params into base.
Looks good, just a few comments. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... File base/metrics/field_trial_param_associator.cc (right): https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.cc:1: // Copyright (c) 2016 The Chromium Authors. All rights reserved. No (c) https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... File base/metrics/field_trial_param_associator.h (right): https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:1: // Copyright (c) 2016 The Chromium Authors. All rights reserved. Nit: No (c) for new files https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:14: #include "base/metrics/field_trial.h" Is this used in the header? If not, move to the cc. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:24: FieldTrialKey; // (FieldTrialName, FieldTrialGroup) Can this be in the private section? https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:37: void ClearAllParamsForTesting(); Please add comments above all the public functions since this is now a public header file.
lawrencewu@chromium.org changed reviewers: + dcheng@chromium.org
Address comments. @dcheng, would you mind taking a look at the new BUILD.gn file? Thanks in advance. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... File base/metrics/field_trial_param_associator.cc (right): https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.cc:1: // Copyright (c) 2016 The Chromium Authors. All rights reserved. On 2016/10/28 15:39:16, Alexei Svitkine (slow) wrote: > No (c) Done. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... File base/metrics/field_trial_param_associator.h (right): https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:1: // Copyright (c) 2016 The Chromium Authors. All rights reserved. On 2016/10/28 15:39:17, Alexei Svitkine (slow) wrote: > Nit: No (c) for new files Done. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:14: #include "base/metrics/field_trial.h" On 2016/10/28 15:39:17, Alexei Svitkine (slow) wrote: > Is this used in the header? If not, move to the cc. Done. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:24: FieldTrialKey; // (FieldTrialName, FieldTrialGroup) On 2016/10/28 15:39:17, Alexei Svitkine (slow) wrote: > Can this be in the private section? Done. https://codereview.chromium.org/2456723004/diff/1/base/metrics/field_trial_pa... base/metrics/field_trial_param_associator.h:37: void ClearAllParamsForTesting(); On 2016/10/28 15:39:17, Alexei Svitkine (slow) wrote: > Please add comments above all the public functions since this is now a public > header file. Done.
Description was changed from ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc BUG=660038 ========== to ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory. BUG=660038 ==========
//base LGTM
lgtm
The CQ bit was checked by lawrencewu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by lawrencewu@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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by lawrencewu@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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by lawrencewu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from asvitkine@chromium.org, dcheng@chromium.org Link to the patchset: https://codereview.chromium.org/2456723004/#ps60001 (title: "rebase-update")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory. BUG=660038 ========== to ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory. BUG=660038 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory. BUG=660038 ========== to ========== Move VariationsParamAssociator to base Moves VariationsParamAssociator to base as FieldTrialParamAssociator and just reroutes the calls in variations_associated_data.cc to this new class in field_trial_param_associator.h/.cc. This is so we can eventually get field trial parameters into child processes using shared memory. BUG=660038 Committed: https://crrev.com/5d5ac0c30be692e2e918121e140a869af36f8dc2 Cr-Commit-Position: refs/heads/master@{#428710} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/5d5ac0c30be692e2e918121e140a869af36f8dc2 Cr-Commit-Position: refs/heads/master@{#428710} |