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

Unified Diff: base/android/trace_event_binding.h

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/trace_event_binding.h
diff --git a/content/common/android/trace_event_binding.h b/base/android/trace_event_binding.h
similarity index 64%
rename from content/common/android/trace_event_binding.h
rename to base/android/trace_event_binding.h
index 10e4e3c134ca9318d6d77e041b92a0dea8f2ba24..b86dec3397f19f198ad537e8cd927ac54565d1c2 100644
--- a/content/common/android/trace_event_binding.h
+++ b/base/android/trace_event_binding.h
@@ -2,11 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_ANDROID_TRACE_EVENT_H_
-#define CONTENT_COMMON_ANDROID_TRACE_EVENT_H_
+#ifndef BASE_ANDROID_TRACE_EVENT_H_
+#define BASE_ANDROID_TRACE_EVENT_H_
#include <jni.h>
bulach 2014/01/09 14:54:50 nit: add a \n after the include
aberent 2014/01/09 17:35:29 Done.
+namespace base {
+namespace android {
extern bool RegisterTraceEvent(JNIEnv* env);
+} // namespace android
+} // namespace base
+
#endif // CONTENT_COMMON_ANDROID_TRACE_EVENT_H_

Powered by Google App Engine
This is Rietveld 408576698