| Index: content/app/android/app_jni_registrar.cc
|
| diff --git a/content/app/android/app_jni_registrar.cc b/content/app/android/app_jni_registrar.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..699b6182dd73c932d12ae4aecfc83c21b6dde1a5
|
| --- /dev/null
|
| +++ b/content/app/android/app_jni_registrar.cc
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2012 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 "content/app/android/app_jni_registrar.h"
|
| +
|
| +#include "base/android/jni_android.h"
|
| +#include "base/android/jni_registrar.h"
|
| +#include "content/app/android/content_main.h"
|
| +#include "content/app/android/sandboxed_process_service.h"
|
| +#include "content/app/android/user_agent.h"
|
| +
|
| +namespace {
|
| +
|
| +base::android::RegistrationMethod kContentRegisteredMethods[] = {
|
| + { "ContentMain", content::RegisterContentMain },
|
| + { "SandboxedProcessService", content::RegisterSandboxedProcessService },
|
| + { "UserAgent", content::RegisterUserAgent },
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +namespace content {
|
| +namespace android {
|
| +
|
| +bool RegisterAppJni(JNIEnv* env) {
|
| + return RegisterNativeMethods(env, kContentRegisteredMethods,
|
| + arraysize(kContentRegisteredMethods));
|
| +}
|
| +
|
| +} // namespace android
|
| +} // namespace content
|
|
|