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

Unified Diff: base/android/field_trial_list.cc

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
« no previous file with comments | « base/android/field_trial_list.h ('k') | base/android/fifo_utils.h » ('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
deleted file mode 100644
index 9cb38d2910624e7b4ce529d71503c7c935581ab2..0000000000000000000000000000000000000000
--- a/base/android/field_trial_list.cc
+++ /dev/null
@@ -1,38 +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.
-
-#include "base/android/field_trial_list.h"
-
-#include <jni.h>
-
-#include "base/android/jni_string.h"
-#include "base/metrics/field_trial.h"
-#include "jni/FieldTrialList_jni.h"
-
-using base::android::ConvertJavaStringToUTF8;
-using base::android::ConvertUTF8ToJavaString;
-
-static jstring FindFullName(JNIEnv* env,
- jclass clazz,
- jstring jtrial_name) {
- std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name));
- return ConvertUTF8ToJavaString(
- 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 {
-
-bool RegisterFieldTrialList(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace android
-} // namespace base
« no previous file with comments | « base/android/field_trial_list.h ('k') | base/android/fifo_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698