1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
6 #define BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
8 #include "base/base_export.h"
13 // Returns true if background startup tracing flag was set on the previous
15 BASE_EXPORT bool GetBackgroundStartupTracingFlag();
17 // Sets a flag to chrome application preferences to enable startup tracing next
18 // time the app is started.
19 BASE_EXPORT void SetBackgroundStartupTracingFlag(bool enabled);
21 } // namespace android
24 #endif // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_