diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 00:11:03 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-22 00:11:03 +0000 |
commit | 0b818f7b22ef210976d00055575255d9801969ee (patch) | |
tree | e9c78bd80e97d03cd6d2fde83044c521170238b0 /components/breakpad/breakpad_client.cc | |
parent | 774a58c3ad4fb5f93bae4ed761cddf1b90365ff3 (diff) | |
download | chromium_src-0b818f7b22ef210976d00055575255d9801969ee.zip chromium_src-0b818f7b22ef210976d00055575255d9801969ee.tar.gz chromium_src-0b818f7b22ef210976d00055575255d9801969ee.tar.bz2 |
Move Linux/Android breakpad implementation to breakpad component
Also split up breakpad component in more subdirectories and tighten up DEPS
rules
BUG=247431
R=rsesek@chromium.org
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/31243002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/breakpad/breakpad_client.cc')
-rw-r--r-- | components/breakpad/breakpad_client.cc | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc deleted file mode 100644 index 26ba755..0000000 --- a/components/breakpad/breakpad_client.cc +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "components/breakpad/breakpad_client.h" - -#include "base/files/file_path.h" -#include "base/logging.h" - -namespace breakpad { - -namespace { - -BreakpadClient* g_client = NULL; - -} // namespace - -void SetBreakpadClient(BreakpadClient* client) { - g_client = client; -} - -BreakpadClient* GetBreakpadClient() { - DCHECK(g_client); - return g_client; -} - -BreakpadClient::BreakpadClient() {} -BreakpadClient::~BreakpadClient() {} - -void BreakpadClient::SetClientID(const std::string& client_id) { -} - -#if defined(OS_WIN) -bool BreakpadClient::GetAlternativeCrashDumpLocation( - base::FilePath* crash_dir) { - return false; -} - -void BreakpadClient::GetProductNameAndVersion(const base::FilePath& exe_path, - base::string16* product_name, - base::string16* version, - base::string16* special_build, - base::string16* channel_name) { -} - -bool BreakpadClient::ShouldShowRestartDialog(base::string16* title, - base::string16* message, - bool* is_rtl_locale) { - return false; -} - -bool BreakpadClient::AboutToRestart() { - return true; -} - -bool BreakpadClient::GetDeferredUploadsSupported(bool is_per_usr_install) { - return false; -} - -bool BreakpadClient::GetIsPerUserInstall(const base::FilePath& exe_path) { - return false; -} - -bool BreakpadClient::GetShouldDumpLargerDumps(bool is_per_user_install) { - return false; -} - -int BreakpadClient::GetResultCodeRespawnFailed() { - return 0; -} - -void BreakpadClient::InitBrowserCrashDumpsRegKey() { -} - -void BreakpadClient::RecordCrashDumpAttempt(bool is_real_crash) { -} -#endif - -#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) -void BreakpadClient::GetProductNameAndVersion(std::string* product_name, - std::string* version) { -} - -base::FilePath BreakpadClient::GetReporterLogFilename() { - return base::FilePath(); -} -#endif - -bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { - return false; -} - -#if defined(OS_POSIX) -void BreakpadClient::SetDumpWithoutCrashingFunction(void (*function)()) { -} -#endif - -size_t BreakpadClient::RegisterCrashKeys() { - return 0; -} - -bool BreakpadClient::IsRunningUnattended() { - return false; -} - -#if defined(OS_WIN) || defined(OS_MACOSX) -bool BreakpadClient::GetCollectStatsConsent() { - return false; -} - -bool BreakpadClient::ReportingIsEnforcedByPolicy(bool* breakpad_enabled) { - return false; -} -#endif - -#if defined(OS_ANDROID) -int BreakpadClient::GetAndroidMinidumpDescriptor() { - return 0; -} -#endif - -#if defined(OS_MACOSX) -void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { -} -#endif - -} // namespace breakpad |