mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
linux: Make StartHandler methods static
Bug: crashpad:30 Change-Id: I3b9e9f149ea8190c3b725691f4fb320eca9cbad0 Reviewed-on: https://chromium-review.googlesource.com/966887 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
132a610184
commit
f5b486de74
@ -132,7 +132,7 @@ class CrashpadClient {
|
||||
//! specified in this parameter.
|
||||
//!
|
||||
//! \return `true` on success, `false` on failure with a message logged.
|
||||
bool StartHandlerAtCrash(
|
||||
static bool StartHandlerAtCrash(
|
||||
const base::FilePath& handler,
|
||||
const base::FilePath& database,
|
||||
const base::FilePath& metrics_dir,
|
||||
@ -164,7 +164,7 @@ class CrashpadClient {
|
||||
//! be used with an ExceptionHandlerClient.
|
||||
//!
|
||||
//! \return `true` on success, `false` on failure with a message logged.
|
||||
bool StartHandlerForClient(
|
||||
static bool StartHandlerForClient(
|
||||
const base::FilePath& handler,
|
||||
const base::FilePath& database,
|
||||
const base::FilePath& metrics_dir,
|
||||
|
@ -215,6 +215,7 @@ bool CrashpadClient::StartHandler(
|
||||
return false;
|
||||
}
|
||||
|
||||
// static
|
||||
bool CrashpadClient::StartHandlerAtCrash(
|
||||
const base::FilePath& handler,
|
||||
const base::FilePath& database,
|
||||
@ -235,6 +236,7 @@ bool CrashpadClient::StartHandlerAtCrash(
|
||||
return false;
|
||||
}
|
||||
|
||||
// static
|
||||
bool CrashpadClient::StartHandlerForClient(
|
||||
const base::FilePath& handler,
|
||||
const base::FilePath& database,
|
||||
|
Loading…
x
Reference in New Issue
Block a user