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

Unified Diff: chrome/common/variations/variations_util.h

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)
Patch Set: Moved to components/variations/field_trial_util and chrome switches 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: chrome/common/variations/variations_util.h
diff --git a/chrome/common/variations/variations_util.h b/chrome/common/variations/variations_util.h
deleted file mode 100644
index fe84dc8de49060480de758f13e8d87563417cac5..0000000000000000000000000000000000000000
--- a/chrome/common/variations/variations_util.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_
-
-#include <string>
-
-namespace base {
-class FeatureList;
-}
-
-namespace chrome_variations {
-
-struct FieldTrialTestingConfig;
-
-// Provides a mechanism to associate multiple set of params to multiple groups
-// with a formatted string specified from commandline. See
-// kForceFieldTrialParams in chrome/common/chrome_switches.cc for more details
-// on the formatting.
-bool AssociateParamsFromString(const std::string& variations_string);
-
-// Provides a mechanism to associate multiple set of params and features to
-// multiple groups with the |config| struct. This will also force the selection
-// of FieldTrial groups specified in the |config|. Registers features associated
-// with default field trials with |feature_list|.
-void AssociateParamsFromFieldTrialConfig(const FieldTrialTestingConfig& config,
- base::FeatureList* feature_list);
-
-// Associates params and features to FieldTrial groups and forces the selection
-// of groups specified in testing/variations/fieldtrial_testing_config_*.json.
-// Registers features associated with default field trials with |feature_list|.
-void AssociateDefaultFieldTrialConfig(base::FeatureList* feature_list);
-
-} // namespace chrome_variations
-
-#endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
« no previous file with comments | « chrome/common/variations/fieldtrial_testing_config_schema.json ('k') | chrome/common/variations/variations_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698