| Index: chrome/browser/component_updater/test/component_updater_service_unittest.cc
|
| diff --git a/chrome/browser/component_updater/test/component_updater_service_unittest.cc b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
|
| index 5fd11592c4b3fdff18b00726747b974f8f5c7d7a..6929a31519cbf382a9d4ef87be1be3338917af1a 100644
|
| --- a/chrome/browser/component_updater/test/component_updater_service_unittest.cc
|
| +++ b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "chrome/browser/component_updater/component_updater_utils.h"
|
| #include "chrome/browser/component_updater/test/test_installer.h"
|
| #include "chrome/common/chrome_paths.h"
|
| +#include "chrome/common/chrome_version_info.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/resource_controller.h"
|
| #include "content/public/browser/resource_request_info.h"
|
| @@ -164,11 +165,15 @@ URLRequestPostInterceptor* InterceptorFactory::CreateInterceptor() {
|
| }
|
|
|
| ComponentUpdaterTest::ComponentUpdaterTest()
|
| - : test_config_(NULL),
|
| + : post_interceptor_(NULL),
|
| + test_config_(NULL),
|
| thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP) {
|
| // The component updater instance under test.
|
| test_config_ = new TestConfigurator;
|
| - component_updater_.reset(ComponentUpdateServiceFactory(test_config_));
|
| + component_updater_.reset(
|
| + ComponentUpdateServiceFactory(test_config_,
|
| + chrome::VersionInfo().Version(),
|
| + chrome::VersionInfo().OSType()));
|
| test_config_->SetComponentUpdateService(component_updater_.get());
|
|
|
| // The test directory is chrome/test/data/components.
|
|
|