Commit 16f79747 authored by holte@chromium.org's avatar holte@chromium.org

Make Rappor enabled by default.

BUG=334889

Review URL: https://codereview.chromium.org/398043003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285483 0039d316-1c4b-4281-b951-d872f2087c98
parent 9602db41
...@@ -35,10 +35,17 @@ const char kRapporRolloutFieldTrialName[] = "RapporRollout"; ...@@ -35,10 +35,17 @@ const char kRapporRolloutFieldTrialName[] = "RapporRollout";
// Constant for the finch parameter name for the server URL // Constant for the finch parameter name for the server URL
const char kRapporRolloutServerUrlParam[] = "ServerUrl"; const char kRapporRolloutServerUrlParam[] = "ServerUrl";
// The rappor server's URL.
const char kDefaultServerUrl[] = "https://clients4.google.com/rappor";
GURL GetServerUrl() { GURL GetServerUrl() {
return GURL(chrome_variations::GetVariationParamValue( std::string server_url = chrome_variations::GetVariationParamValue(
kRapporRolloutFieldTrialName, kRapporRolloutFieldTrialName,
kRapporRolloutServerUrlParam)); kRapporRolloutServerUrlParam);
if (!server_url.empty())
return GURL(server_url);
else
return GURL(kDefaultServerUrl);
} }
const RapporParameters kRapporParametersForType[NUM_RAPPOR_TYPES] = { const RapporParameters kRapporParametersForType[NUM_RAPPOR_TYPES] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment