blob: 222d29a728b3f048e73fdaa66b7156eec36ba8b3 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_ANDROID_CHILD_PROCESS_SERVICE_H_
#define BASE_ANDROID_CHILD_PROCESS_SERVICE_H_
#include <optional>
#include <string>
#include <vector>
#include "base/base_export.h"
namespace base::android {
BASE_EXPORT void RegisterFileDescriptors(
std::vector<std::optional<std::string>>& keys,
std::vector<int>& ids,
std::vector<int>& fds,
std::vector<int64_t>& offsets,
std::vector<int64_t>& sizes);
BASE_EXPORT void DumpProcessStack();
BASE_EXPORT void OnSelfFreeze();
} // namespace base::android
#endif // BASE_ANDROID_CHILD_PROCESS_SERVICE_H_