summaryrefslogtreecommitdiffstats
path: root/components/breakpad
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 13:48:20 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 13:48:20 +0000
commitb6ce545f0e57ecb54a84c09822d8fdcb8c3625e2 (patch)
treecd8d1699e22e6090f6c9817f2af16f82a5074d73 /components/breakpad
parentec27f79c73bb41922ff23452dceda70bcb824544 (diff)
downloadchromium_src-b6ce545f0e57ecb54a84c09822d8fdcb8c3625e2.zip
chromium_src-b6ce545f0e57ecb54a84c09822d8fdcb8c3625e2.tar.gz
chromium_src-b6ce545f0e57ecb54a84c09822d8fdcb8c3625e2.tar.bz2
Move dependency on chrome_version_info_posix to breakpad client
BUG=247431 R=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/19760002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/breakpad')
-rw-r--r--components/breakpad/breakpad_client.cc6
-rw-r--r--components/breakpad/breakpad_client.h9
2 files changed, 15 insertions, 0 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc
index 43b512b..57e4155 100644
--- a/components/breakpad/breakpad_client.cc
+++ b/components/breakpad/breakpad_client.cc
@@ -39,6 +39,12 @@ void BreakpadClient::GetProductNameAndVersion(const base::FilePath& exe_path,
}
#endif
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
+void BreakpadClient::GetProductNameAndVersion(std::string* product_name,
+ std::string* version) {
+}
+#endif
+
bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) {
return false;
}
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h
index 47e285d..2077908 100644
--- a/components/breakpad/breakpad_client.h
+++ b/components/breakpad/breakpad_client.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_
#define COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_
+#include <string>
+
#include "base/strings/string16.h"
#include "build/build_config.h"
@@ -42,6 +44,13 @@ class BreakpadClient {
base::string16* special_build);
#endif
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
+ // Returns a textual description of the product type and version to include
+ // in the crash report.
+ virtual void GetProductNameAndVersion(std::string* product_name,
+ std::string* version);
+#endif
+
// The location where minidump files should be written. Returns true if
// |crash_dir| was set.
virtual bool GetCrashDumpLocation(base::FilePath* crash_dir);