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

Unified Diff: chrome/installer/gcapi/gcapi_test.cc

Issue 9465013: Mike's change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing Roger's feedback. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/gcapi/gcapi_reactivation_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/gcapi/gcapi_test.cc
diff --git a/chrome/installer/gcapi/gcapi_test.cc b/chrome/installer/gcapi/gcapi_test.cc
index b7f08bb1c74e7ce21d814c13609ffb0c21281359..3216a79a2f4836eeda3ca5cc3acacdcf2c9530e6 100644
--- a/chrome/installer/gcapi/gcapi_test.cc
+++ b/chrome/installer/gcapi/gcapi_test.cc
@@ -16,8 +16,10 @@ void call_statically() {
// running this twice verifies that the first call does not set
// a flag that would make the second fail. Thus, the results
// of the two calls should be the same (no state should have changed)
- result_flag_off = GoogleChromeCompatibilityCheck(FALSE, &reason);
- result_flag_on = GoogleChromeCompatibilityCheck(TRUE, &reason);
+ result_flag_off = GoogleChromeCompatibilityCheck(
+ FALSE, GCAPI_INVOKED_STANDARD_SHELL, &reason);
+ result_flag_on = GoogleChromeCompatibilityCheck(
+ TRUE, GCAPI_INVOKED_STANDARD_SHELL, &reason);
if (result_flag_off != result_flag_on)
printf("Registry key flag is not being set properly.");
@@ -41,8 +43,8 @@ void call_dynamically() {
// running this twice verifies that the first call does not set
// a flag that would make the second fail. Thus, the results
// of the two calls should be the same (no state should have changed)
- BOOL result_flag_off = gccfn(FALSE, &reason);
- BOOL result_flag_on = gccfn(TRUE, &reason);
+ BOOL result_flag_off = gccfn(FALSE, GCAPI_INVOKED_STANDARD_SHELL, &reason);
+ BOOL result_flag_on = gccfn(TRUE, GCAPI_INVOKED_STANDARD_SHELL, &reason);
if (result_flag_off != result_flag_on)
printf("Registry key flag is not being set properly.");
« no previous file with comments | « chrome/installer/gcapi/gcapi_reactivation_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698