| 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_GCAPI_H_ | 5 #ifndef CHROME_INSTALLER_GCAPI_GCAPI_H_ |
| 6 #define CHROME_INSTALLER_GCAPI_GCAPI_H_ | 6 #define CHROME_INSTALLER_GCAPI_GCAPI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // GCAPI_INVOKED_UAC_ELEVATION depending on whether this method is invoked | 98 // GCAPI_INVOKED_UAC_ELEVATION depending on whether this method is invoked |
| 99 // from an elevated or non-elevated process. | 99 // from an elevated or non-elevated process. |
| 100 BOOL __stdcall ReactivateChrome(wchar_t* brand_code, | 100 BOOL __stdcall ReactivateChrome(wchar_t* brand_code, |
| 101 int previous_brand_codes_length, | 101 int previous_brand_codes_length, |
| 102 const wchar_t** previous_brand_codes, | 102 const wchar_t** previous_brand_codes, |
| 103 int shell_mode, | 103 int shell_mode, |
| 104 DWORD* error_code); | 104 DWORD* error_code); |
| 105 | 105 |
| 106 // Function pointer type declarations to use with GetProcAddress. | 106 // Function pointer type declarations to use with GetProcAddress. |
| 107 typedef BOOL (__stdcall *GCCC_CompatibilityCheck)(BOOL, int, DWORD *); | 107 typedef BOOL (__stdcall *GCCC_CompatibilityCheck)(BOOL, int, DWORD *); |
| 108 typedef BOOL (__stdcall *GCCC_LaunchGC)(HANDLE *); | 108 typedef BOOL (__stdcall *GCCC_LaunchGC)(); |
| 109 typedef BOOL (__stdcall *GCCC_LaunchGCWithDimensions)(int, int, int, int); | 109 typedef BOOL (__stdcall *GCCC_LaunchGCWithDimensions)(int, int, int, int, bool); |
| 110 typedef int (__stdcall *GCCC_GoogleChromeDaysSinceLastRun)(); | 110 typedef int (__stdcall *GCCC_GoogleChromeDaysSinceLastRun)(); |
| 111 typedef BOOL (__stdcall *GCCC_CanOfferReactivation)(const wchar_t*, | 111 typedef BOOL (__stdcall *GCCC_CanOfferReactivation)(const wchar_t*, |
| 112 int, | 112 int, |
| 113 const wchar_t**, | 113 const wchar_t**, |
| 114 int, | 114 int, |
| 115 DWORD*); | 115 DWORD*); |
| 116 typedef BOOL (__stdcall *GCCC_ReactivateChrome)(const wchar_t*, | 116 typedef BOOL (__stdcall *GCCC_ReactivateChrome)(const wchar_t*, |
| 117 int, | 117 int, |
| 118 const wchar_t**, | 118 const wchar_t**, |
| 119 int, | 119 int, |
| 120 DWORD*); | 120 DWORD*); |
| 121 | 121 |
| 122 } // extern "C" | 122 } // extern "C" |
| 123 | 123 |
| 124 #endif // CHROME_INSTALLER_GCAPI_GCAPI_H_ | 124 #endif // CHROME_INSTALLER_GCAPI_GCAPI_H_ |
| OLD | NEW |