Supervised user import: Listen for profile creation/deletion
[chromium-blink-merge.git] / chrome / common / variations / variations_util.h
blob212569b023c15115d8740acc2e5609c8cf359449
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
6 #define CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
8 #include <string>
10 namespace chrome_variations {
12 // Get the current set of chosen FieldTrial groups (aka variations) and send
13 // them to the child process logging module so it can save it for crash dumps.
14 void SetChildProcessLoggingVariationList();
16 // Provides a mechanism to associate multiple set of params to multiple groups
17 // with a formatted string specified from commandline. See
18 // kForceFieldTrialParams in chrome/common/chrome_switches.cc for more details
19 // on the formatting.
20 bool AssociateParamsFromString(const std::string& variations_string);
22 } // namespace chrome_variations
24 #endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_