// 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& hash_set, const base::android::JavaRef& object) { JNI_HashSet::Java_HashSet_add(env, hash_set.obj(), object.obj()); } void JNI_Java_HashSet_remove(JNIEnv* env, const base::android::JavaRef& hash_set, const base::android::JavaRef& object) { JNI_HashSet::Java_HashSet_remove(env, hash_set.obj(), object.obj()); } void JNI_Java_HashSet_clear(JNIEnv* env, const base::android::JavaRef& hash_set) { JNI_HashSet::Java_HashSet_clear(env, hash_set.obj()); } } // namespace content