early_trace_event_binding.h 748 B

123456789101112131415161718192021222324
  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. #ifndef BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
  5. #define BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_
  6. #include "base/base_export.h"
  7. namespace base {
  8. namespace android {
  9. // Returns true if background startup tracing flag was set on the previous
  10. // startup.
  11. BASE_EXPORT bool GetBackgroundStartupTracingFlag();
  12. // Sets a flag to chrome application preferences to enable startup tracing next
  13. // time the app is started.
  14. BASE_EXPORT void SetBackgroundStartupTracingFlag(bool enabled);
  15. } // namespace android
  16. } // namespace base
  17. #endif // BASE_ANDROID_EARLY_TRACE_EVENT_BINDING_H_