OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #include "components/variations/android/variations_seed_bridge_test.h" |
| 6 |
| 7 #include <jni.h> |
| 8 |
| 9 #include "base/android/jni_android.h" |
| 10 #include "jni/VariationsSeedBridgeTest_jni.h" |
| 11 |
| 12 using base::android::AttachCurrentThread; |
| 13 using base::android::GetApplicationContext; |
| 14 |
| 15 namespace variations { |
| 16 namespace android { |
| 17 |
| 18 bool RegisterVariationsSeedBridgeTest(JNIEnv* env) { |
| 19 return RegisterNativesImpl(env); |
| 20 } |
| 21 |
| 22 void SetTestData() { |
| 23 JNIEnv* env = AttachCurrentThread(); |
| 24 Java_VariationsSeedBridgeTest_setTestData(env, GetApplicationContext()); |
| 25 } |
| 26 |
| 27 } // namespace android |
| 28 } // namespace variations |
OLD | NEW |