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

Unified Diff: base/android/field_trial_list.cc

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « base/PRESUBMIT.py ('k') | base/android/java/src/org/chromium/base/FieldTrialList.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/field_trial_list.cc
diff --git a/base/android/field_trial_list.cc b/base/android/field_trial_list.cc
index 13f3cc5b18a0671cf775572f6c25d48cc9a21833..9cb38d2910624e7b4ce529d71503c7c935581ab2 100644
--- a/base/android/field_trial_list.cc
+++ b/base/android/field_trial_list.cc
@@ -22,6 +22,11 @@ static jstring FindFullName(JNIEnv* env,
base::FieldTrialList::FindFullName(trial_name)).Release();
}
+static jboolean TrialExists(JNIEnv* env, jclass clazz, jstring jtrial_name) {
+ std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name));
+ return base::FieldTrialList::TrialExists(trial_name);
+}
+
namespace base {
namespace android {
« no previous file with comments | « base/PRESUBMIT.py ('k') | base/android/java/src/org/chromium/base/FieldTrialList.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698