#ifndef REMOTING_BASE_BREAKPAD_UTILS_H_
#define REMOTING_BASE_BREAKPAD_UTILS_H_
#include <atomic>
#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/process/process_handle.h"
#include "base/threading/thread_restrictions.h"
#include "base/time/time.h"
#include "base/values.h"
#if BUILDFLAG(IS_WIN)
#include "base/win/scoped_handle.h"
#endif
namespace remoting {
extern const char kBreakpadProductVersionKey[];
extern const char kBreakpadProcessStartTimeKey[];
extern const char kBreakpadProcessIdKey[];
extern const char kBreakpadProcessNameKey[];
extern const char kBreakpadProcessUptimeKey[];
extern base::FilePath GetMinidumpDirectoryPath();
extern bool CreateMinidumpDirectoryIfNeeded(
const base::FilePath& minidump_directory);
extern bool WriteMetadataForMinidump(const base::FilePath& minidump_file_path,
base::Value::Dict custom_client_info);
#if BUILDFLAG(IS_WIN)
extern const wchar_t kCrashServerPipeName[];
base::win::ScopedHandle GetClientHandleForCrashServerPipe();
#endif
class BreakpadHelper { … };
}
#endif