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..124e663ee87e2e899d2f0ee2131ec973eb51c427 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,14 @@ 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. |