• Ilya Sherman's avatar
    [Cleanup] Clean up the VariationsFieldTrialCreator code. · 55489777
    Ilya Sherman authored
    * Dramatically simplifies the test code, plus tests the public API rather than
      an internal API method.
    * Declares said internal API method with private visibility.
    * Updates a non-const reference returned type to be a pointer instead.
    * Tucks an enum into the anonymous namespace in the implementation file.
    * Fixes up some comments: clearer phrasing, plus fixed typos and wrapping.
    
    R=holte@chromium.org
    
    Bug: 727984
    Change-Id: I4c394d04cb4f4d24cdcc8a7baa2db54f4dc5c8f7
    Reviewed-on: https://chromium-review.googlesource.com/826493Reviewed-by: default avatarSteven Holte <holte@chromium.org>
    Commit-Queue: Ilya Sherman <isherman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524276}
    55489777
variations_field_trial_creator.cc 17.2 KB