summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_mac.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 14:59:07 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 14:59:07 +0000
commit2f1804c7ecc4b4c8bb802dc518db9f3244b57e15 (patch)
tree64584fe049e7b0381f142689eb934dae9eac8ad3 /chrome/app/breakpad_mac.mm
parente8315a4dca1a46363b91af21742bdb5d0eb0ceeb (diff)
downloadchromium_src-2f1804c7ecc4b4c8bb802dc518db9f3244b57e15.zip
chromium_src-2f1804c7ecc4b4c8bb802dc518db9f3244b57e15.tar.gz
chromium_src-2f1804c7ecc4b4c8bb802dc518db9f3244b57e15.tar.bz2
Transition to base/mac/bundle_locations.h step 2
Remove MainAppBundle() in favor of FrameworkBundle() and update all callsites + code comments. BUG=None TEST=Code should compile and all unit tests should pass. Review URL: https://chromiumcodereview.appspot.com/9220005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_mac.mm')
-rw-r--r--chrome/app/breakpad_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm
index 4f00932..3617b6a 100644
--- a/chrome/app/breakpad_mac.mm
+++ b/chrome/app/breakpad_mac.mm
@@ -14,6 +14,7 @@
#include "base/file_path.h"
#include "base/file_util.h"
#import "base/logging.h"
+#include "base/mac/bundle_locations.h"
#include "base/mac/mac_util.h"
#include "base/mac/scoped_cftyperef.h"
#import "base/mac/scoped_nsautorelease_pool.h"
@@ -113,7 +114,7 @@ void InitCrashReporter() {
// Helper processes may not have access to the disk or to the same data as
// the browser process, so the browser passes the decision to them on the
// command line.
- NSBundle* main_bundle = base::mac::MainAppBundle();
+ NSBundle* main_bundle = base::mac::FrameworkBundle();
bool is_browser = !base::mac::IsBackgroundOnlyProcess();
bool enable_breakpad = false;
CommandLine* command_line = CommandLine::ForCurrentProcess();