summaryrefslogtreecommitdiffstats
path: root/chrome/app
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
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')
-rw-r--r--chrome/app/breakpad_mac.mm25
-rw-r--r--chrome/app/breakpad_mac_stubs.mm2
2 files changed, 1 insertions, 26 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;
diff --git a/chrome/app/breakpad_mac_stubs.mm b/chrome/app/breakpad_mac_stubs.mm
index ea5cfdc..258e02a 100644
--- a/chrome/app/breakpad_mac_stubs.mm
+++ b/chrome/app/breakpad_mac_stubs.mm
@@ -5,7 +5,7 @@
#import "chrome/app/breakpad_mac.h"
// Stubbed out versions of breakpad integration functions so we can compile
-// unit tests without linking in Breakpad.
+// without linking in Breakpad.
bool IsCrashReporterDisabled() {
return true;