| Index: components/variations/android/variations_seed_bridge_test.cc
|
| diff --git a/components/variations/android/variations_seed_bridge_test.cc b/components/variations/android/variations_seed_bridge_test.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..86a6aa763f440001b705fbecb547b4b54cb6be52
|
| --- /dev/null
|
| +++ b/components/variations/android/variations_seed_bridge_test.cc
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2015 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 "components/variations/android/variations_seed_bridge_test.h"
|
| +
|
| +#include <jni.h>
|
| +
|
| +#include "base/android/jni_android.h"
|
| +#include "jni/VariationsSeedBridgeTest_jni.h"
|
| +
|
| +using base::android::AttachCurrentThread;
|
| +using base::android::GetApplicationContext;
|
| +
|
| +namespace variations {
|
| +namespace android {
|
| +
|
| +bool RegisterVariationsSeedBridgeTest(JNIEnv* env) {
|
| + return RegisterNativesImpl(env);
|
| +}
|
| +
|
| +void SetTestData() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + Java_VariationsSeedBridgeTest_setTestData(env, GetApplicationContext());
|
| +}
|
| +
|
| +} // namespace android
|
| +} // namespace variations
|
|
|