OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GCAPI_MAC_GCAPI_H_ | 5 #ifndef CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ |
6 #define CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ | 6 #define CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // Error conditions for GoogleChromeCompatibilityCheck(). | 9 // Error conditions for GoogleChromeCompatibilityCheck(). |
10 #define GCCC_ERROR_USERLEVELALREADYPRESENT (1 << 0) | 10 #define GCCC_ERROR_USERLEVELALREADYPRESENT (1 << 0) |
(...skipping 13 matching lines...) Expand all Loading... | |
24 // |set_flag| indicates whether a flag should be set indicating that Chrome was | 24 // |set_flag| indicates whether a flag should be set indicating that Chrome was |
25 // offered within the last six months; if passed NO, this method will not | 25 // offered within the last six months; if passed NO, this method will not |
26 // set the flag even if Chrome can be offered. If passed TRUE, this method | 26 // set the flag even if Chrome can be offered. If passed TRUE, this method |
27 // will set the flag only if Chrome can be offered. | 27 // will set the flag only if Chrome can be offered. |
28 // |shell_mode| should be set to one of GCAPI_INVOKED_STANDARD_SHELL or | 28 // |shell_mode| should be set to one of GCAPI_INVOKED_STANDARD_SHELL or |
29 // GCAPI_INVOKED_UAC_ELEVATION depending on whether this method is invoked | 29 // GCAPI_INVOKED_UAC_ELEVATION depending on whether this method is invoked |
30 // from an elevated or non-elevated process. TODO(thakis): This doesn't make | 30 // from an elevated or non-elevated process. TODO(thakis): This doesn't make |
31 // sense on mac, change comment. | 31 // sense on mac, change comment. |
32 int GoogleChromeCompatibilityCheck(unsigned* reasons); | 32 int GoogleChromeCompatibilityCheck(unsigned* reasons); |
33 | 33 |
34 // This function launches Google Chrome after a successful install. | |
Mark Mentovai
2012/05/18 19:15:06
I guess this can be done after the “install” part
Nico
2012/05/18 19:21:24
This is an excellent suggestion, wil do.
| |
35 int LaunchGoogleChrome(); | |
36 | |
34 #ifdef __cplusplus | 37 #ifdef __cplusplus |
35 } // extern "C" | 38 } // extern "C" |
36 #endif | 39 #endif |
37 | 40 |
38 #endif // CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ | 41 #endif // CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ |
OLD | NEW |