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

Unified Diff: components/variations/fieldtrial_util.h

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)
Patch Set: Created 4 years, 1 month 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: components/variations/fieldtrial_util.h
diff --git a/chrome/common/variations/variations_util.h b/components/variations/fieldtrial_util.h
similarity index 85%
rename from chrome/common/variations/variations_util.h
rename to components/variations/fieldtrial_util.h
index fe84dc8de49060480de758f13e8d87563417cac5..c50e7ac494a88ae7ee9546b194b45186f869d1e9 100644
--- a/chrome/common/variations/variations_util.h
+++ b/components/variations/fieldtrial_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
-#define CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
+#ifndef COMPONENTS_VARIATIONS_FIELDTRIAL_UTIL_H_
+#define COMPONENTS_VARIATIONS_FIELDTRIAL_UTIL_H_
#include <string>
@@ -11,7 +11,7 @@ namespace base {
class FeatureList;
}
-namespace chrome_variations {
+namespace variations {
struct FieldTrialTestingConfig;
@@ -33,6 +33,6 @@ void AssociateParamsFromFieldTrialConfig(const FieldTrialTestingConfig& config,
// Registers features associated with default field trials with |feature_list|.
void AssociateDefaultFieldTrialConfig(base::FeatureList* feature_list);
-} // namespace chrome_variations
+} // namespace variations
-#endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
+#endif // COMPONENTS_VARIATIONS_FIELDTRIAL_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698