Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / common / android / hash_set.h
blobb7a587078473fa841b6decd5c36d76ea651764ba
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.
5 #include <jni.h>
7 #include "base/android/scoped_java_ref.h"
9 namespace content {
11 bool RegisterHashSet(JNIEnv* env);
13 void JNI_Java_HashSet_add(JNIEnv* env,
14 const base::android::JavaRef<jobject>& hash_set,
15 const base::android::JavaRef<jobject>& object);
17 void JNI_Java_HashSet_remove(JNIEnv* env,
18 const base::android::JavaRef<jobject>& hash_set,
19 const base::android::JavaRef<jobject>& object);
21 void JNI_Java_HashSet_clear(JNIEnv* env,
22 const base::android::JavaRef<jobject>& hash_set);
24 } // namespace content