summaryrefslogtreecommitdiffstats
path: root/components/breakpad
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 08:09:32 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 08:09:32 +0000
commit8ab19f698d84afb4ec3549f79366c0c1cb0aaeae (patch)
treeeda9a3af5aee6ecf72af053ca74a8bdb73a71e3c /components/breakpad
parented8f4eb15489241616e8e7374731c203bc3a02f3 (diff)
downloadchromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.zip
chromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.tar.gz
chromium_src-8ab19f698d84afb4ec3549f79366c0c1cb0aaeae.tar.bz2
Remove dependency from breakpad files on chrome switches.
BUG=247431 R=mark@chromium.org Review URL: https://codereview.chromium.org/19556005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212276 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.h10
2 files changed, 15 insertions, 1 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc
index 41271ed..43b512b 100644
--- a/components/breakpad/breakpad_client.cc
+++ b/components/breakpad/breakpad_client.cc
@@ -31,6 +31,12 @@ 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) {
+}
#endif
bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) {
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h
index 6d4b6ca..47e285d 100644
--- a/components/breakpad/breakpad_client.h
+++ b/components/breakpad/breakpad_client.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_
#define COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_
-#include "base/basictypes.h"
+#include "base/strings/string16.h"
+#include "build/build_config.h"
namespace base {
class FilePath;
@@ -32,6 +33,13 @@ class BreakpadClient {
// Returns true if an alternative location to store the minidump files was
// specified. Returns true if |crash_dir| was set.
virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir);
+
+ // Returns a textual description of the product type and version to include
+ // in the crash report.
+ virtual void GetProductNameAndVersion(const base::FilePath& exe_path,
+ base::string16* product_name,
+ base::string16* version,
+ base::string16* special_build);
#endif
// The location where minidump files should be written. Returns true if