naiveproxy/src/base/base_paths_apple.h

23 lines
711 B
C
Raw Normal View History

2023-10-13 17:31:16 +03:00
// Copyright 2023 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_BASE_PATHS_APPLE_H_
#define BASE_BASE_PATHS_APPLE_H_
#include "base/files/file_path.h"
namespace base::apple::internal {
// Returns the absolute path to the executable.
base::FilePath GetExecutablePath();
// Returns true if the module for |address| is found. |path| will contain
// the path to the module. Note that |path| may not be absolute.
[[nodiscard]] bool GetModulePathForAddress(base::FilePath* path,
const void* address);
} // namespace base::apple::internal
#endif // BASE_BASE_PATHS_APPLE_H_