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

Unified Diff: base/android/java/src/org/chromium/base/TraceEvent.java

Issue 796663002: Update from https://crrev.com/307758 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Updates for SkCanvas::NewRaster deprecation Created 6 years 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 | « DEPS ('k') | base/android/trace_event_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/TraceEvent.java
diff --git a/base/android/java/src/org/chromium/base/TraceEvent.java b/base/android/java/src/org/chromium/base/TraceEvent.java
index 164ccf864e8cc88a41d523ec6294c17c098d6b68..5611f57ac6d0c9407577538962cb5357baa88040 100644
--- a/base/android/java/src/org/chromium/base/TraceEvent.java
+++ b/base/android/java/src/org/chromium/base/TraceEvent.java
@@ -226,17 +226,7 @@ public class TraceEvent {
* @param id The id of the asynchronous event.
*/
public static void startAsync(String name, long id) {
- if (sEnabled) nativeStartAsync(name, id, null);
- }
-
- /**
- * Triggers the 'start' native trace event.
- * @param name The name of the event.
- * @param id The id of the asynchronous event.
- * @param arg The arguments of the event.
- */
- public static void startAsync(String name, long id, String arg) {
- if (sEnabled) nativeStartAsync(name, id, arg);
+ if (sEnabled) nativeStartAsync(name, id);
}
/**
@@ -245,17 +235,7 @@ public class TraceEvent {
* @param id The id of the asynchronous event.
*/
public static void finishAsync(String name, long id) {
- if (sEnabled) nativeFinishAsync(name, id, null);
- }
-
- /**
- * Triggers the 'finish' native trace event.
- * @param name The name of the event.
- * @param id The id of the asynchronous event.
- * @param arg The arguments of the event.
- */
- public static void finishAsync(String name, long id, String arg) {
- if (sEnabled) nativeFinishAsync(name, id, arg);
+ if (sEnabled) nativeFinishAsync(name, id);
}
/**
@@ -336,6 +316,6 @@ public class TraceEvent {
private static native void nativeEnd(String name, String arg);
private static native void nativeBeginToplevel();
private static native void nativeEndToplevel();
- private static native void nativeStartAsync(String name, long id, String arg);
- private static native void nativeFinishAsync(String name, long id, String arg);
+ private static native void nativeStartAsync(String name, long id);
+ private static native void nativeFinishAsync(String name, long id);
}
« no previous file with comments | « DEPS ('k') | base/android/trace_event_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698