blob: 4def1a8ed92876ec9673809df1b5c0ebcf16fcb5 [file] [log] [blame]
// Copyright 2020 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef THIRD_PARTY_CRASHPAD_WRAPPER_WRAPPER_H_
#define THIRD_PARTY_CRASHPAD_WRAPPER_WRAPPER_H_
#include "starboard/elf_loader/evergreen_info.h" // nogncheck
#include "third_party/crashpad/wrapper/annotations.h"
namespace third_party {
namespace crashpad {
namespace wrapper {
void InstallCrashpadHandler(bool start_at_crash);
bool AddEvergreenInfoToCrashpad(EvergreenInfo evergreen_info);
bool AddAnnotationsToCrashpad(CrashpadAnnotations annotations);
} // namespace wrapper
} // namespace crashpad
} // namespace third_party
#endif // THIRD_PARTY_CRASHPAD_WRAPPER_WRAPPER_H_