blob: bd73b779734c56d0cae832d697d69770b64532e3 [file] [log] [blame]
// Copyright (c) 2013 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 "jni/HashSet_jni.h"
namespace content {
bool RegisterHashSet(JNIEnv* env) {
return JNI_HashSet::RegisterNativesImpl(env);
}
void JNI_Java_HashSet_add(JNIEnv* env,
const base::android::JavaRef<jobject>& hash_set,
const base::android::JavaRef<jobject>& object) {
JNI_HashSet::Java_HashSet_add(env, hash_set.obj(), object.obj());
}
void JNI_Java_HashSet_remove(JNIEnv* env,
const base::android::JavaRef<jobject>& hash_set,
const base::android::JavaRef<jobject>& object) {
JNI_HashSet::Java_HashSet_remove(env, hash_set.obj(), object.obj());
}
void JNI_Java_HashSet_clear(JNIEnv* env,
const base::android::JavaRef<jobject>& hash_set) {
JNI_HashSet::Java_HashSet_clear(env, hash_set.obj());
}
} // namespace content