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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 10151017: Remove the hash fields from FieldTrials. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changed GXID API to accept strings Created 8 years, 8 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
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 58cdfa1c312eaeb8f63e7538c4ae04dbfbff9814..78b0c54c2b7620206d124bfb375e1cc30ffd0a01 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -26,6 +26,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/chrome_version_info.h"
#include "chrome/common/logging_chrome.h"
+#include "chrome/common/metrics/experiments_helper.h"
#include "chrome/common/metrics/proto/omnibox_event.pb.h"
#include "chrome/common/metrics/proto/system_profile.pb.h"
#include "chrome/common/pref_names.h"
@@ -47,7 +48,7 @@ extern "C" IMAGE_DOS_HEADER __ImageBase;
using content::GpuDataManager;
using metrics::OmniboxEventProto;
using metrics::SystemProfileProto;
-typedef base::FieldTrial::NameGroupId NameGroupId;
+typedef experiments_helper::NameGroupId NameGroupId;
namespace {
@@ -274,7 +275,7 @@ int MetricsLog::GetScreenCount() const {
void MetricsLog::GetFieldTrialIds(
std::vector<NameGroupId>* field_trial_ids) const {
- base::FieldTrialList::GetFieldTrialNameGroupIds(field_trial_ids);
+ experiments_helper::GetFieldTrialNameGroupIds(field_trial_ids);
}
void MetricsLog::WriteStabilityElement(

Powered by Google App Engine
This is Rietveld 408576698