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

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

Issue 10386218: mac gcapi: Add LaunchGoogleChrome() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/installer/gcapi_mac/gcapi.mm » ('j') | chrome/installer/gcapi_mac/gcapi.mm » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/gcapi_mac/gcapi.mm » ('j') | chrome/installer/gcapi_mac/gcapi.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698