Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: chrome/browser/autocomplete/autocomplete_field_trial.cc

Issue 10795060: Rename all of experiments_helper to variations_helper, including files, namespaces, and various fun… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/breakpad_win.cc ('k') | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_field_trial.cc
===================================================================
--- chrome/browser/autocomplete/autocomplete_field_trial.cc (revision 151328)
+++ chrome/browser/autocomplete/autocomplete_field_trial.cc (working copy)
@@ -8,7 +8,7 @@
#include "base/metrics/field_trial.h"
#include "base/string_number_conversions.h"
-#include "chrome/common/metrics/experiments_helper.h"
+#include "chrome/common/metrics/variations_util.h"
#include "chrome/common/metrics/variation_ids.h"
namespace {
@@ -84,7 +84,7 @@
trial->UseOneTimeRandomization();
// Mark this group in suggest requests to Google.
- experiments_helper::AssociateGoogleVariationID(
+ chrome_variations::AssociateGoogleVariationID(
kSuggestFieldTrialName, "0", chrome_variations::kSuggestIDMin);
DCHECK_EQ(kSuggestFieldTrialNumberOfGroups,
chrome_variations::kSuggestIDMax - chrome_variations::kSuggestIDMin + 1);
@@ -95,7 +95,7 @@
for (int i = 1; i < kSuggestFieldTrialNumberOfGroups; i++) {
const std::string group_name = base::IntToString(i);
trial->AppendGroup(group_name, 1);
- experiments_helper::AssociateGoogleVariationID(
+ chrome_variations::AssociateGoogleVariationID(
kSuggestFieldTrialName, group_name,
static_cast<chrome_variations::VariationID>(
chrome_variations::kSuggestIDMin + i));
« no previous file with comments | « chrome/app/breakpad_win.cc ('k') | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698