| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <jni.h> | 5 #include <jni.h> |
| 6 | 6 |
| 7 #include "base/android/scoped_java_ref.h" | 7 #include "base/android/scoped_java_ref.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 bool RegisterHashSet(JNIEnv* env); | |
| 12 | |
| 13 void JNI_Java_HashSet_add(JNIEnv* env, | 11 void JNI_Java_HashSet_add(JNIEnv* env, |
| 14 const base::android::JavaRef<jobject>& hash_set, | 12 const base::android::JavaRef<jobject>& hash_set, |
| 15 const base::android::JavaRef<jobject>& object); | 13 const base::android::JavaRef<jobject>& object); |
| 16 | 14 |
| 17 void JNI_Java_HashSet_remove(JNIEnv* env, | 15 void JNI_Java_HashSet_remove(JNIEnv* env, |
| 18 const base::android::JavaRef<jobject>& hash_set, | 16 const base::android::JavaRef<jobject>& hash_set, |
| 19 const base::android::JavaRef<jobject>& object); | 17 const base::android::JavaRef<jobject>& object); |
| 20 | 18 |
| 21 void JNI_Java_HashSet_clear(JNIEnv* env, | 19 void JNI_Java_HashSet_clear(JNIEnv* env, |
| 22 const base::android::JavaRef<jobject>& hash_set); | 20 const base::android::JavaRef<jobject>& hash_set); |
| 23 | 21 |
| 24 } // namespace content | 22 } // namespace content |
| OLD | NEW |