| 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.");
|
|
|