| Index: chrome/installer/util/run_all_unittests.cc
|
| diff --git a/chrome/installer/util/run_all_unittests.cc b/chrome/installer/util/run_all_unittests.cc
|
| index a667fa40faec9c273824e557c745ab8c25013a1f..9cfc94ea4bff2369bbeb7fa180389eda8ae5aeab 100644
|
| --- a/chrome/installer/util/run_all_unittests.cc
|
| +++ b/chrome/installer/util/run_all_unittests.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/test/test_suite.h"
|
| #include "base/win/scoped_com_initializer.h"
|
| #include "chrome/common/chrome_paths.h"
|
| -#include "chrome/installer/util/install_util.h"
|
| +#include "chrome/install_static/test/scoped_install_details.h"
|
|
|
| int main(int argc, char** argv) {
|
| base::TestSuite test_suite(argc, argv);
|
| @@ -15,12 +15,12 @@ int main(int argc, char** argv) {
|
| // Register Chrome Path provider so that we can get test data dir.
|
| chrome::RegisterPathProvider();
|
|
|
| - // Drop CHROME_PROBED_PROGRAM_FILES_PATH if it leaked into the environment.
|
| - InstallUtil::ResetIsPerUserInstallForTest();
|
| -
|
| base::win::ScopedCOMInitializer com_initializer;
|
| if (!com_initializer.succeeded())
|
| return -1;
|
| +
|
| + install_static::ScopedInstallDetails scoped_install_details;
|
| +
|
| return base::LaunchUnitTests(
|
| argc,
|
| argv,
|
|
|