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

Issue 9704022: This patch modifies some aspects of GCAPI in support of the new Chrome reactivation functions. (Closed)

Created:
8 years, 9 months ago by mgraboski
Modified:
8 years, 9 months ago
Reviewers:
robertshield
CC:
chromium-reviews
Visibility:
Public.

Description

This patch modifies some aspects of GCAPI in support of the new Chrome reactivation functions. gcapi.cc: CanOfferReactivation returns TRUE whenever it's invoked from an elevated shell gcapi.h: modify LaunchGoogleChrome function pointer to work with GetProcAddress when using run-time dynamic linking gcapi_reactivation.cc: don't reactivate Chrome if it's already been reactivated, regardless of what the reactivation brandcode was TEST=Invoke CanOfferReactivation from an elevated shell. Try reactivating Chrome with a different brandcode. Call LaunchGoogleChrome with GetProcAddress. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129129

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -115 lines) Patch
M chrome/installer/gcapi/gcapi.h View 1 2 3 4 1 chunk +4 lines, -16 lines 0 comments Download
M chrome/installer/gcapi/gcapi.cc View 1 2 3 4 3 chunks +13 lines, -30 lines 0 comments Download
M chrome/installer/gcapi/gcapi.def View 1 1 chunk +6 lines, -10 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation.cc View 1 2 3 2 chunks +4 lines, -15 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation_test.cc View 1 2 3 4 5 chunks +22 lines, -42 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mgraboski
8 years, 9 months ago (2012-03-14 18:09:30 UTC) #1
robertshield
Looking pretty good, a few comments below: https://chromiumcodereview.appspot.com/9704022/diff/1/chrome/installer/gcapi/gcapi.cc File chrome/installer/gcapi/gcapi.cc (right): https://chromiumcodereview.appspot.com/9704022/diff/1/chrome/installer/gcapi/gcapi.cc#newcode570 chrome/installer/gcapi/gcapi.cc:570: if (shell_mode ...
8 years, 9 months ago (2012-03-15 03:52:32 UTC) #2
mgraboski
Hi Robert, I've updated the GCAPI patch according to your feedback. Sorry for the delay ...
8 years, 9 months ago (2012-03-22 00:33:25 UTC) #3
robertshield
http://codereview.chromium.org/9704022/diff/1/chrome/installer/gcapi/gcapi.cc File chrome/installer/gcapi/gcapi.cc (right): http://codereview.chromium.org/9704022/diff/1/chrome/installer/gcapi/gcapi.cc#newcode570 chrome/installer/gcapi/gcapi.cc:570: if (shell_mode == GCAPI_INVOKED_UAC_ELEVATION) On 2012/03/22 00:33:25, mgraboski wrote: ...
8 years, 9 months ago (2012-03-23 17:52:16 UTC) #4
mgraboski
Hi Robert, I have applied your latest review suggestions to the GCAPI files. Thanks, Mike ...
8 years, 9 months ago (2012-03-23 21:40:35 UTC) #5
mgraboski
Uploaded patch set 5 to remove remaining references to "previous brand codes" from CanOfferReactivation and ...
8 years, 9 months ago (2012-03-27 00:03:55 UTC) #6
robertshield
lgtm
8 years, 9 months ago (2012-03-27 00:12:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgraboski@google.com/9704022/25001
8 years, 9 months ago (2012-03-27 00:15:01 UTC) #8
commit-bot: I haz the power
Try job failure for 9704022-25001 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 00:44:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgraboski@google.com/9704022/25003
8 years, 9 months ago (2012-03-27 02:38:51 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-27 04:14:43 UTC) #11
Change committed as 129129

Powered by Google App Engine
This is Rietveld 408576698