DescriptionEnable the VariationsService on official builds when --variations-service-url is provided.
We do this by wrapping the default ctor in a factory Create method, which handles the build-type logic.
Also, group static methods in variations_service.*.
Also, move the testing constructor to protected where it's better... protected.
BUG=162417
TEST=With an unofficial build: Ensure that running Chromium without a command line argument does not result in a request to the Variations server (https://clients4.google.com/chrome-variations/seed). Ensure that providing the --variations-server-url flag with a URL results in a request to that URL.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175352
Patch Set 1 : init #
Total comments: 10
Patch Set 2 : asvit nits #
Total comments: 2
Patch Set 3 : update comment #Patch Set 4 : Flip ifdef condition #Patch Set 5 : rebase #
Messages
Total messages: 13 (0 generated)
|