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

Unified Diff: base/android/early_trace_event_binding.h

Issue 1486053003: Android: Add support for TraceEvent before the native library is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
Index: base/android/early_trace_event_binding.h
diff --git a/base/android/record_user_action.h b/base/android/early_trace_event_binding.h
similarity index 55%
copy from base/android/record_user_action.h
copy to base/android/early_trace_event_binding.h
index 2c2b854a490bcf404ce857a586467482be60bc61..be2ba4b485471b30d0aa51ccc08b05ca8b835a33 100644
--- a/base/android/record_user_action.h
+++ b/base/android/early_trace_event_binding.h
@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_ANDROID_RECORD_USER_ACTION_H_
-#define BASE_ANDROID_RECORD_USER_ACTION_H_
+#ifndef BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
+#define BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
#include <jni.h>
namespace base {
namespace android {
-// Registers the native methods through jni
-bool RegisterRecordUserAction(JNIEnv* env);
+extern bool RegisterEarlyTraceEvent(JNIEnv* env);
} // namespace android
} // namespace base
-#endif // BASE_ANDROID_RECORD_USER_ACTION_H_
+#endif // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_

Powered by Google App Engine
This is Rietveld 408576698