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

Unified Diff: base/android/base_jni_registrar.cc

Issue 131553003: Move Android TraceEvent interface to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/base_jni_registrar.cc
diff --git a/base/android/base_jni_registrar.cc b/base/android/base_jni_registrar.cc
index 9fd1dab06bbdfff5827afbe9ec58c66ea54bd3bb..9a87a25a15e917ec3fc48e3bfc268005d6119ea0 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -18,6 +18,7 @@
#include "base/android/path_utils.h"
#include "base/android/sys_utils.h"
#include "base/android/thread_utils.h"
+#include "base/android/trace_event_binding.h"
#include "base/basictypes.h"
#include "base/debug/trace_event.h"
#include "base/message_loop/message_pump_android.h"
@@ -50,6 +51,7 @@ static RegistrationMethod kBaseRegisteredMethods[] = {
{ "SysUtils", base::android::SysUtils::Register },
{ "PowerMonitor", base::RegisterPowerMonitor },
{ "ThreadUtils", base::RegisterThreadUtils },
+ { "TraceEvent", base::android::RegisterTraceEvent },
};
bool RegisterJni(JNIEnv* env) {
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/BaseSwitches.java » ('j') | base/android/trace_event_binding.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698