xref: /aosp_15_r20/external/cronet/base/android/early_trace_event_binding.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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.
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 
10 namespace base {
11 namespace android {
12 
13 // Returns true if background startup tracing flag was set on the previous
14 // startup.
15 BASE_EXPORT bool GetBackgroundStartupTracingFlag();
16 
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);
20 
21 }  // namespace android
22 }  // namespace base
23 
24 #endif  // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
25