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

Unified Diff: base/android/base_jni_registrar.cc

Issue 874543003: Add support for TraceEvent before the native library is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 10 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 | « no previous file | base/android/early_trace_event.h » ('j') | base/android/early_trace_event.h » ('J')
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 4dda482f928ab9b588538102690a0985b837836d..0e7ac391d9ddb6ea500e0ab5b34d4f36d9922ea0 100644
--- a/base/android/base_jni_registrar.cc
+++ b/base/android/base_jni_registrar.cc
@@ -9,6 +9,7 @@
#include "base/android/command_line_android.h"
#include "base/android/content_uri_utils.h"
#include "base/android/cpu_features.h"
+#include "base/android/early_trace_event.h"
#include "base/android/event_log.h"
#include "base/android/field_trial_list.h"
#include "base/android/important_file_writer_android.h"
@@ -39,6 +40,7 @@ static RegistrationMethod kBaseRegisteredMethods[] = {
{"CommandLine", base::android::RegisterCommandLine},
{"ContentUriUtils", base::RegisterContentUriUtils},
{"CpuFeatures", base::android::RegisterCpuFeatures},
+ { "EarlyTraceEvent", base::android::RegisterEarlyTraceEvent },
dsinclair 2015/02/09 21:11:20 nit: looks like the spacing is off here relative t
Benoit L 2015/02/10 15:31:35 Done.
{"EventLog", base::android::RegisterEventLog},
{"FieldTrialList", base::android::RegisterFieldTrialList},
{"ImportantFileWriterAndroid",
« no previous file with comments | « no previous file | base/android/early_trace_event.h » ('j') | base/android/early_trace_event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698