From f5b486de7416a50e2460112725ccec43fcc559f4 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Fri, 16 Mar 2018 10:52:55 -0700 Subject: [PATCH] linux: Make StartHandler methods static Bug: crashpad:30 Change-Id: I3b9e9f149ea8190c3b725691f4fb320eca9cbad0 Reviewed-on: https://chromium-review.googlesource.com/966887 Reviewed-by: Mark Mentovai Commit-Queue: Joshua Peraza --- client/crashpad_client.h | 4 ++-- client/crashpad_client_linux.cc | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/crashpad_client.h b/client/crashpad_client.h index 3cd806a1..267a6e20 100644 --- a/client/crashpad_client.h +++ b/client/crashpad_client.h @@ -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, diff --git a/client/crashpad_client_linux.cc b/client/crashpad_client_linux.cc index ca13c297..22f7e3d8 100644 --- a/client/crashpad_client_linux.cc +++ b/client/crashpad_client_linux.cc @@ -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,