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

Unified Diff: base/android/base_jni_registrar.cc

Issue 1283543003: [Android] Add a java.lang.System wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 5 years, 4 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 | « base/BUILD.gn ('k') | base/android/java_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/base_jni_registrar.cc
diff --git a/base/android/base_jni_registrar.cc b/base/android/base_jni_registrar.cc
index 752dcff19c438588fc2b92139a2424cce0967897..cedb0f2221b6904d096350c287d76a67f2aad7bb 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -16,6 +16,7 @@
#include "base/android/important_file_writer_android.h"
#include "base/android/java_handler_thread.h"
#include "base/android/java_runtime.h"
+#include "base/android/java_system.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/android/jni_utils.h"
@@ -62,6 +63,7 @@ static RegistrationMethod kBaseRegisteredMethods[] = {
{"RecordHistogram", base::android::RegisterRecordHistogram},
{"RecordUserAction", base::android::RegisterRecordUserAction},
{"Runtime", base::android::JavaRuntime::Register},
+ {"System", base::android::JavaSystem::Register},
{"SystemMessageHandler", base::MessagePumpForUI::RegisterBindings},
{"SysUtils", base::android::SysUtils::Register},
{"ThreadUtils", base::RegisterThreadUtils},
« no previous file with comments | « base/BUILD.gn ('k') | base/android/java_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698