blob: 617f804ea2808fe908508217717a8e05053fefa6 [file] [log] [blame]
Andrew Top0d1858f2019-05-15 22:01:47 -07001// Copyright 2018 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#ifndef BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
6#define BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
7
8#include "base/base_export.h"
9
10namespace base {
11namespace android {
12
13// Returns true if background startup tracing flag was set on the previous
14// startup.
15BASE_EXPORT bool GetBackgroundStartupTracingFlag();
16
17// Sets a flag to chrome application preferences to enable startup tracing next
18// time the app is started.
19BASE_EXPORT void SetBackgroundStartupTracingFlag(bool enabled);
20
21} // namespace android
22} // namespace base
23
24#endif // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_