blob: c8606dbb692ed820297e7fa8595064808f55930b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.support_lib_boundary;
import java.io.OutputStream;
import java.util.Collection;
import java.util.concurrent.Executor;
/** Boundary interface for TracingController. */
public interface TracingControllerBoundaryInterface {
boolean isTracing();
void start(int predefinedCategories, Collection<String> customIncludedCategories, int mode)
throws IllegalStateException, IllegalArgumentException;
boolean stop(OutputStream outputStream, Executor executor);
}
|