OLD | NEW |
---|---|
(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 } | |
OLD | NEW |