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

Side by Side Diff: chrome/installer/mac/app/SystemInfo.h

Issue 2293923005: General comment cleaning / refactoring for Mac Installer (Closed)
Patch Set: Ivan fixes Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_ 5 #ifndef CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_
6 #define CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_ 6 #define CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_
7 7
8 #if !defined(__x86_64__) 8 #if !defined(__x86_64__)
9 #error "Your machine's system architecture may not be compatible with Chrome." 9 #error "Your machine's system architecture may not be compatible with Chrome."
10 #endif 10 #endif
11 11
12 #import <Foundation/Foundation.h> 12 #import <Foundation/Foundation.h>
13 13
14 @interface SystemInfo : NSObject 14 @interface SystemInfo : NSObject
15 // Gets the CPU architecture type of the client's system, which will be used 15 // Gets the CPU architecture type of the client's system, which will be used
16 // when crafting the query to Omaha. This will return either "x84_64h" for 16 // when crafting the query to Omaha. This should return either "x84_64h" for
17 // systems running on Intel Haswell chips, "i486" for other Intel machines, or 17 // systems running on Intel Haswell chips, "i486" for other Intel machines, or
18 // strings representing other CPU types ("amd", "pentium", and "i686", for 18 // strings representing other CPU types ("amd", "pentium", and "i686", for
19 // example, are all possible; however, due to the above macro, the possible 19 // example, are all possible; however, due to the above macro, the possible
20 // return strings are limited to either "x84_64h" or "i486"). 20 // return strings are limited to either "x84_64h" or "i486").
21 + (NSString*)getArch; 21 + (NSString*)getArch;
22 22
23 // Gets the operating system version of the client. This function may return 23 // Gets the operating system version of the client. This function may return
24 // values such as "10.11" or "10.10.5". 24 // values such as "10.11" or "10.10.5".
25 + (NSString*)getOSVersion; 25 + (NSString*)getOSVersion;
26 26
27 @end 27 @end
28 28
29 #endif // CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_ 29 #endif // CHROME_INSTALLER_MAC_APP_SYSTEMINFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698