root/content/common/android/hash_set.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. RegisterHashSet
  2. JNI_Java_HashSet_add
  3. JNI_Java_HashSet_remove
  4. JNI_Java_HashSet_clear

// 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

/* [<][>][^][v][top][bottom][index][help] */