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

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 + comments. Created 4 years, 5 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/android/base_jni_registrar.cc ('k') | base/android/early_trace_event_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
Yaron 2016/07/05 16:43:56 Why extern?
Benoit L 2016/07/06 14:00:33 Done.
} // namespace android
} // namespace base
-#endif // BASE_ANDROID_RECORD_USER_ACTION_H_
+#endif // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/early_trace_event_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698