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

Side by Side Diff: content/shell/android/java/src/org/chromium/content_shell/TraceController.java

Issue 11647013: Enable Tracing on content shell for Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add license header, javadoc comment and some minor fix Created 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content_shell;
6
7 import org.chromium.base.JNINamespace;
8
9 @JNINamespace("content")
Ted C 2012/12/26 16:18:28 class level javadoc needed
10 public class TraceController {
11
12 /**
13 * Begin to record trace event.
Ted C 2012/12/26 16:18:28 Begin recording trace events.
14 *
15 * @param path Where the trace data will save when stop tracing.
Ted C 2012/12/26 16:18:28 Specifies where the trace data will be saved when
16 */
17 public static void beginTracing(String path) {
18 nativeBeginTracing(path);
19 }
20
21 /**
22 * Stop recording trace event, and dump data to file
Ted C 2012/12/26 16:18:28 event[s], and dump [the] data to the file.
23 */
24 public static void endTracing() {
25 nativeEndTracing();
26 }
27
28 private static native void nativeBeginTracing(String path);
29 private static native void nativeEndTracing();
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698