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

Unified Diff: chrome/installer/mac/app/SystemInfo.m

Issue 2293923005: General comment cleaning / refactoring for Mac Installer (Closed)
Patch Set: Created 4 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
Index: chrome/installer/mac/app/SystemInfo.m
diff --git a/chrome/installer/mac/app/SystemInfo.m b/chrome/installer/mac/app/SystemInfo.m
index 66e3cf81962c12967dc75298ea677ccf59038368..364fe79fb31c3992388bc7fe07fcf9b0e43c794c 100644
--- a/chrome/installer/mac/app/SystemInfo.m
+++ b/chrome/installer/mac/app/SystemInfo.m
@@ -9,6 +9,8 @@
@implementation SystemInfo
+ (NSString*)getArch {
+ // NOTE: It seems the below function `NSGetLocalArchInfo` returns an
+ // arch->name that is either "x84_64h" or "i486".
const NXArchInfo* arch = NXGetLocalArchInfo();
NSString* archName = [NSString stringWithUTF8String:arch->name];
return archName;

Powered by Google App Engine
This is Rietveld 408576698