| 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 // Signals the tool to begin the installation. Returns the path to the |
| 17 // installed app. |
| 18 - (NSString*)startInstall:(NSString*)appBundlePath; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ |
| OLD | NEW |