blob: 1af1fd2981ebf403ac2d27c858592058f03f1b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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 "components/variations/android/component_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/basictypes.h"
#include "components/variations/android/variations_associated_data_android.h"
namespace variations {
namespace android {
static base::android::RegistrationMethod kVariationsRegisteredMethods[] = {
{"VariationsAssociatedData", RegisterVariationsAssociatedData},
};
bool RegisterVariations(JNIEnv* env) {
return base::android::RegisterNativeMethods(
env, kVariationsRegisteredMethods,
arraysize(kVariationsRegisteredMethods));
}
} // namespace android
} // namespace variations
|