Chromium Code Reviews| Index: chrome/installer/mac/app/AuthorizedInstall.h |
| diff --git a/chrome/installer/mac/app/AuthorizedInstall.h b/chrome/installer/mac/app/AuthorizedInstall.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4f3d6c128099d036678efedc6c51b9547150c3b0 |
| --- /dev/null |
| +++ b/chrome/installer/mac/app/AuthorizedInstall.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ |
| +#define CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ |
| + |
| +#import <Foundation/Foundation.h> |
| +#import <Security/Security.h> |
| + |
| +@interface AuthorizedInstall : NSObject |
| + |
| +// Attempts to gain elevated permissions and starts a subprocess. |
| +- (BOOL)loadInstallationTool; |
| + |
| +// 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.
|
| +// installed app. |
| +- (NSString*)startInstall:(NSString*)appBundlePath; |
| + |
| +@end |
| + |
| +#endif // CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ |