Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: content/app/android/content_jni_registrar.cc

Issue 10697030: Register JNI for content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/app/android/content_jni_registrar.h ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/content_jni_registrar.cc
diff --git a/content/app/android/content_jni_registrar.cc b/content/app/android/content_jni_registrar.cc
deleted file mode 100644
index c3481ee9327d6ba33b1da12a1a79e31879eed459..0000000000000000000000000000000000000000
--- a/content/app/android/content_jni_registrar.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-// 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/content_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"
-#include "content/browser/android/android_browser_process.h"
-#include "content/browser/android/content_settings.h"
-#include "content/browser/android/content_view_client.h"
-#include "content/browser/android/content_view_impl.h"
-#include "content/browser/android/device_info.h"
-#include "content/browser/android/download_controller.h"
-#include "content/browser/android/sandboxed_process_launcher.h"
-#include "content/browser/android/touch_point.h"
-#include "content/browser/geolocation/location_api_adapter_android.h"
-#include "content/common/android/command_line.h"
-#include "content/common/android/surface_callback.h"
-#include "content/common/android/trace_event_binding.h"
-
-namespace content {
-namespace android {
-
-base::android::RegistrationMethod kContentRegisteredMethods[] = {
- { "AndroidLocationApiAdapter",
- AndroidLocationApiAdapter::RegisterGeolocationService },
- { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess },
- { "CommandLine", RegisterCommandLine },
- { "ContentSettings", ContentSettings::RegisterContentSettings },
- { "ContentView", RegisterContentView },
- { "ContentViewClient", RegisterContentViewClient },
- { "ContentMain", content::RegisterContentMain },
- { "DeviceInfo", RegisterDeviceInfo },
- { "DownloadController", DownloadController::RegisterDownloadController },
- { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher },
- { "SandboxedProcessService", content::RegisterSandboxedProcessService },
- { "SurfaceCallback", content::RegisterSurfaceCallback },
- { "TouchPoint", content::RegisterTouchPoint },
- { "TraceEvent", RegisterTraceEvent },
- { "UserAgent", content::RegisterUserAgent },
-};
-
-bool RegisterJni(JNIEnv* env) {
- return RegisterNativeMethods(env, kContentRegisteredMethods,
- arraysize(kContentRegisteredMethods));
-}
-
-} // namespace android
-} // namespace content
« no previous file with comments | « content/app/android/content_jni_registrar.h ('k') | content/app/android/library_loader_hooks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698