summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_mac.mm
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-11 00:06:07 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-11 00:06:07 +0000
commit24893327f0f72295fbdcd5ac672ff7a8920d7876 (patch)
tree024fe85ea4619ca0727caa6c6a3e8b8a89585522 /chrome/app/breakpad_mac.mm
parenta1421ab576e6ce3b88f9115a3132b0128782e7cd (diff)
downloadchromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.zip
chromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.tar.gz
chromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.tar.bz2
Simplify how we stub breakpad. If breakpad is in, use the real file, if not, use the stubs. We already use the stubs on unittests, so this just makes the same thing apply to the app. This gets breakpad's slow steps out of the google chrome mac rolling build.
TEST=breakpad still works in official builds BUG=none TBR=mark@chromium.org Review URL: http://codereview.chromium.org/149499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_mac.mm')
-rw-r--r--chrome/app/breakpad_mac.mm25
1 files changed, 0 insertions, 25 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm
index 0356258..3307829 100644
--- a/chrome/app/breakpad_mac.mm
+++ b/chrome/app/breakpad_mac.mm
@@ -18,31 +18,6 @@
extern "C" {
-#if !defined(GOOGLE_CHROME_BUILD)
-
-// If we aren't compiling as a branded build, then add dummy versions of the
-// Breakpad functions so we don't have to link against Breakpad.
-
-BreakpadRef BreakpadCreate(NSDictionary *parameters) {
- NOTREACHED();
- return NULL;
-}
-
-void BreakpadRelease(BreakpadRef ref) {
- NOTREACHED();
-}
-
-void BreakpadAddUploadParameter(BreakpadRef ref, NSString *key,
- NSString *value) {
- NOTREACHED();
-}
-
-void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key) {
- NOTREACHED();
-}
-
-#endif // !defined(GOOGLE_CHROME_BUILD)
-
namespace {
BreakpadRef gBreakpadRef = NULL;