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

Unified Diff: base/android/java/src/org/chromium/base/FieldTrialList.java

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months 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: base/android/java/src/org/chromium/base/FieldTrialList.java
diff --git a/base/android/java/src/org/chromium/base/FieldTrialList.java b/base/android/java/src/org/chromium/base/FieldTrialList.java
deleted file mode 100644
index 5fc9a1ff73f789709365a335a61742434dd87e46..0000000000000000000000000000000000000000
--- a/base/android/java/src/org/chromium/base/FieldTrialList.java
+++ /dev/null
@@ -1,33 +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.
-
-package org.chromium.base;
-
-/**
- * Helper to get field trial information.
- */
-public class FieldTrialList {
-
- private FieldTrialList() {}
-
- /**
- * @param trialName The name of the trial to get the group for.
- * @return The group name chosen for the named trial, or the empty string if the trial does
- * not exist.
- */
- public static String findFullName(String trialName) {
- return nativeFindFullName(trialName);
- }
-
- /**
- * @param trialName The name of the trial to get the group for.
- * @return Whether the trial exists or not.
- */
- public static boolean trialExists(String trialName) {
- return nativeTrialExists(trialName);
- }
-
- private static native String nativeFindFullName(String trialName);
- private static native boolean nativeTrialExists(String trialName);
-}

Powered by Google App Engine
This is Rietveld 408576698