Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4618)

Unified Diff: chrome/app/breakpad_mac.mm

Issue 171040: add the InfoPlist.strings generation based on GRD strings.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/app-Info.plist ('k') | chrome/app/chrome_dll_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_mac.mm
===================================================================
--- chrome/app/breakpad_mac.mm (revision 24091)
+++ chrome/app/breakpad_mac.mm (working copy)
@@ -10,6 +10,7 @@
#import "base/basictypes.h"
#include "base/command_line.h"
#import "base/logging.h"
+#include "base/mac_util.h"
#import "base/scoped_nsautorelease_pool.h"
#include "base/sys_string_conversions.h"
#import "breakpad/src/client/mac/Framework/Breakpad.h"
@@ -44,7 +45,7 @@
// may not have access to the disk or to the same data as the browser
// process, so the browser passes the consent preference to them on the
// command line.
- NSBundle* main_bundle = [NSBundle mainBundle];
+ NSBundle* main_bundle = mac_util::MainAppBundle();
NSDictionary* info_dictionary = [main_bundle infoDictionary];
bool is_browser = [[info_dictionary objectForKey:@"LSUIElement"]
isEqualToString:@"1"] ? false : true;
« no previous file with comments | « chrome/app/app-Info.plist ('k') | chrome/app/chrome_dll_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698