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

Unified Diff: base/android/path_service_android.cc

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 9 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
Index: base/android/path_service_android.cc
diff --git a/base/android/path_service_android.cc b/base/android/path_service_android.cc
index 18ca70c8abd8a00e898791f37bd000fc3b13a4e7..3d9ed911408248666625befa60bf9748e737c116 100644
--- a/base/android/path_service_android.cc
+++ b/base/android/path_service_android.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/android/path_service_android.h"
-
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/files/file_path.h"
@@ -18,9 +16,5 @@ void Override(JNIEnv* env, jclass clazz, jint what, jstring path) {
PathService::Override(what, file_path);
}
-bool RegisterPathService(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace android
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698