• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 package org.chromium.base;
6 
7 /**
8  * Helper to get field trial information.
9  */
10 public class FieldTrialList {
11 
FieldTrialList()12     private FieldTrialList() {}
13 
14     /**
15      * @param trialName The name of the trial to get the group for.
16      * @return The group name chosen for the named trial, or the empty string if the trial does
17      *         not exist.
18      */
findFullName(String trialName)19     public static String findFullName(String trialName) {
20         return nativeFindFullName(trialName);
21     }
22 
nativeFindFullName(String trialName)23     private static native String nativeFindFullName(String trialName);
24 }
25