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

Side by Side Diff: chrome/installer/gcapi_mac/gcapi.h

Issue 10834102: mac: Let gcapi install chrome as the CGSession owner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
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 7
8 // Error conditions for GoogleChromeCompatibilityCheck(). 8 // Error conditions for GoogleChromeCompatibilityCheck().
9 #define GCCC_ERROR_USERLEVELALREADYPRESENT (1 << 0) 9 #define GCCC_ERROR_ALREADYPRESENT (1 << 0)
10 #define GCCC_ERROR_SYSTEMLEVELALREADYPRESENT (1 << 1) 10 #define GCCC_ERROR_ACCESSDENIED (1 << 1)
11 #define GCCC_ERROR_ACCESSDENIED (1 << 2) 11 #define GCCC_ERROR_OSNOTSUPPORTED (1 << 2)
12 #define GCCC_ERROR_OSNOTSUPPORTED (1 << 3) 12 #define GCCC_ERROR_ALREADYOFFERED (1 << 3)
13 #define GCCC_ERROR_ALREADYOFFERED (1 << 4) 13 #define GCCC_ERROR_INTEGRITYLEVEL (1 << 4)
14 #define GCCC_ERROR_INTEGRITYLEVEL (1 << 5)
15 14
16 #ifdef __cplusplus 15 #ifdef __cplusplus
17 extern "C" { 16 extern "C" {
18 #endif 17 #endif
19 18
20 // This function returns nonzero if Google Chrome should be offered. 19 // This function returns nonzero if Google Chrome should be offered.
21 // If the return value is 0, |reasons| explains why. If you don't care for the 20 // If the return value is 0, |reasons| explains why. If you don't care for the
22 // reason, you can pass NULL for |reasons|. 21 // reason, you can pass NULL for |reasons|.
23 int GoogleChromeCompatibilityCheck(unsigned* reasons); 22 int GoogleChromeCompatibilityCheck(unsigned* reasons);
24 23
(...skipping 18 matching lines...) Expand all
43 unsigned master_prefs_contents_size); 42 unsigned master_prefs_contents_size);
44 43
45 // This function launches Google Chrome after a successful install. 44 // This function launches Google Chrome after a successful install.
46 int LaunchGoogleChrome(); 45 int LaunchGoogleChrome();
47 46
48 #ifdef __cplusplus 47 #ifdef __cplusplus
49 } // extern "C" 48 } // extern "C"
50 #endif 49 #endif
51 50
52 #endif // CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_ 51 #endif // CHROME_INSTALLER_GCAPI_MAC_GCAPI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698