Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ | |
| 6 #define CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 #import <Security/Security.h> | |
| 10 | |
| 11 @interface AuthorizedInstall : NSObject | |
| 12 | |
| 13 // Attempts to gain elevated permissions and starts a subprocess. | |
| 14 - (BOOL)loadInstallationTool; | |
| 15 | |
| 16 // Sends a message to install tool to start the install. Returns the path to the | |
|
Anna Zeng
2016/08/23 19:36:12
"Starts the installation process." Stuff about sen
Elly Fong-Jones
2016/08/24 16:39:22
+1
ivanhernandez
2016/08/24 18:23:16
Done.
| |
| 17 // installed app. | |
| 18 - (NSString*)startInstall:(NSString*)appBundlePath; | |
| 19 | |
| 20 @end | |
| 21 | |
| 22 #endif // CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ | |
| OLD | NEW |