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

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

Issue 9704022: This patch modifies some aspects of GCAPI in support of the new Chrome reactivation functions. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 9 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/gcapi.cc » ('j') | chrome/installer/gcapi/gcapi.cc » ('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_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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/gcapi/gcapi.cc » ('j') | chrome/installer/gcapi/gcapi.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698