Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / common / android / common_jni_registrar.cc
blobead0cfee86681a35cf5cef30369f0d01130d5612
1 // Copyright (c) 2012 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 "content/common/android/common_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "content/common/android/command_line.h"
10 #include "content/common/android/device_telephony_info.h"
11 #include "content/common/android/hash_set.h"
12 #include "content/common/android/trace_event_binding.h"
14 namespace {
15 base::android::RegistrationMethod kContentRegisteredMethods[] = {
16 { "CommandLine", RegisterCommandLine },
17 { "DeviceTelephonyInfo",
18 content::DeviceTelephonyInfo::RegisterDeviceTelephonyInfo },
19 { "HashSet", content::RegisterHashSet },
20 { "TraceEvent", RegisterTraceEvent },
23 } // namespace
25 namespace content {
26 namespace android {
28 bool RegisterCommonJni(JNIEnv* env) {
29 return RegisterNativeMethods(env, kContentRegisteredMethods,
30 arraysize(kContentRegisteredMethods));
33 } // namespace android
34 } // namespace content