1 // Copyright (c) 2013 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 <jni.h> 6 7 #include "base/android/scoped_java_ref.h" 8 9 namespace content { 10 11 bool RegisterHashSet(JNIEnv* env); 12 13 void JNI_Java_HashSet_add(JNIEnv* env, 14 const base::android::JavaRef<jobject>& hash_set, 15 const base::android::JavaRef<jobject>& object); 16 17 void JNI_Java_HashSet_remove(JNIEnv* env, 18 const base::android::JavaRef<jobject>& hash_set, 19 const base::android::JavaRef<jobject>& object); 20 21 void JNI_Java_HashSet_clear(JNIEnv* env, 22 const base::android::JavaRef<jobject>& hash_set); 23 24 } // namespace content 25