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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.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/browser/metrics/variations_service.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
===================================================================
--- chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (revision 151328)
+++ chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (working copy)
@@ -29,7 +29,7 @@
#include "chrome/browser/ui/sync/one_click_signin_helper.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/user_script.h"
-#include "chrome/common/metrics/experiments_helper.h"
+#include "chrome/common/metrics/variations_util.h"
#include "chrome/common/metrics/proto/chrome_experiments.pb.h"
#include "chrome/common/render_messages.h"
#include "content/public/browser/browser_thread.h"
@@ -377,7 +377,7 @@
const std::string& group_name) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
chrome_variations::VariationID new_id =
- experiments_helper::GetGoogleVariationID(trial_name, group_name);
+ chrome_variations::GetGoogleVariationID(trial_name, group_name);
if (new_id == chrome_variations::kEmptyID)
return;
variation_ids_set_.insert(new_id);
@@ -398,7 +398,7 @@
for (base::FieldTrial::SelectedGroups::const_iterator it =
initial_groups.begin(); it != initial_groups.end(); ++it) {
chrome_variations::VariationID id =
- experiments_helper::GetGoogleVariationID(it->trial, it->group);
+ chrome_variations::GetGoogleVariationID(it->trial, it->group);
if (id != chrome_variations::kEmptyID)
variation_ids_set_.insert(id);
}
« no previous file with comments | « chrome/browser/metrics/variations_service.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698