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

Side by Side Diff: base/android/java/src/org/chromium/base/FieldTrialList.java

Issue 1408163009: [Android] Enable multidex for debug builds of ChromePublic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no-op ChromiumMultiDex.install for non-multidex builds Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.base; 5 package org.chromium.base;
6 6
7 import org.chromium.base.annotations.MainDex;
8
7 /** 9 /**
8 * Helper to get field trial information. 10 * Helper to get field trial information.
9 */ 11 */
12 @MainDex
10 public class FieldTrialList { 13 public class FieldTrialList {
11 14
12 private FieldTrialList() {} 15 private FieldTrialList() {}
13 16
14 /** 17 /**
15 * @param trialName The name of the trial to get the group for. 18 * @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 19 * @return The group name chosen for the named trial, or the empty string if the trial does
17 * not exist. 20 * not exist.
18 */ 21 */
19 public static String findFullName(String trialName) { 22 public static String findFullName(String trialName) {
20 return nativeFindFullName(trialName); 23 return nativeFindFullName(trialName);
21 } 24 }
22 25
23 /** 26 /**
24 * @param trialName The name of the trial to get the group for. 27 * @param trialName The name of the trial to get the group for.
25 * @return Whether the trial exists or not. 28 * @return Whether the trial exists or not.
26 */ 29 */
27 public static boolean trialExists(String trialName) { 30 public static boolean trialExists(String trialName) {
28 return nativeTrialExists(trialName); 31 return nativeTrialExists(trialName);
29 } 32 }
30 33
31 private static native String nativeFindFullName(String trialName); 34 private static native String nativeFindFullName(String trialName);
32 private static native boolean nativeTrialExists(String trialName); 35 private static native boolean nativeTrialExists(String trialName);
33 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698