summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/app/breakpad_mac.h4
-rw-r--r--chrome/app/breakpad_mac.mm9
2 files changed, 9 insertions, 4 deletions
diff --git a/chrome/app/breakpad_mac.h b/chrome/app/breakpad_mac.h
index 9c48752..8872191 100644
--- a/chrome/app/breakpad_mac.h
+++ b/chrome/app/breakpad_mac.h
@@ -5,6 +5,8 @@
#ifndef CHROME_APP_BREAKPAD_MAC_H_
#define CHROME_APP_BREAKPAD_MAC_H_
+extern "C" {
+
// This header defines the Chrome entry points for Breakpad integration.
// Initializes Breakpad.
@@ -34,4 +36,6 @@ void ClearCrashKeyValue(NSString* key);
#endif // __OBJC__
+}
+
#endif // CHROME_APP_BREAKPAD_MAC_H_
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm
index 6d28d47..87c8fe3 100644
--- a/chrome/app/breakpad_mac.mm
+++ b/chrome/app/breakpad_mac.mm
@@ -15,10 +15,10 @@
#import "breakpad/src/client/mac/Framework/Breakpad.h"
#include "chrome/installer/util/google_update_settings.h"
-#if !defined(GOOGLE_CHROME_BUILD)
-
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.
@@ -40,8 +40,6 @@ void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key) {
NOTREACHED();
}
-}
-
#endif // !defined(GOOGLE_CHROME_BUILD)
namespace {
@@ -151,3 +149,6 @@ void ClearCrashKeyValue(NSString* key) {
BreakpadRemoveUploadParameter(gBreakpadRef, key);
}
+
+}
+