Andrew Top | 0d1858f | 2019-05-15 22:01:47 -0700 | [diff] [blame] | 1 | // 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 | |
| 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_ |