| Index: chrome/test/base/chrome_unit_test_suite.cc
|
| diff --git a/chrome/test/base/chrome_unit_test_suite.cc b/chrome/test/base/chrome_unit_test_suite.cc
|
| index 48cbb637f6c47113dc4ce9364644f5427f61f427..cbc1e7a7e299ed381798a2a8a04d716ab84319f6 100644
|
| --- a/chrome/test/base/chrome_unit_test_suite.cc
|
| +++ b/chrome/test/base/chrome_unit_test_suite.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/test/base/testing_browser_process.h"
|
| #include "chrome/utility/chrome_content_utility_client.h"
|
| +#include "components/component_updater/common/component_updater_paths.h"
|
| #include "components/omaha_query_params/omaha_query_params.h"
|
| #include "content/public/common/content_paths.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -132,6 +133,10 @@ void ChromeUnitTestSuite::InitializeProviders() {
|
| content::RegisterPathProvider();
|
| ui::RegisterPathProvider();
|
|
|
| + base::FilePath user_data;
|
| + if (PathService::Get(chrome::DIR_USER_DATA, &user_data))
|
| + component_updater::RegisterPathProvider(user_data);
|
| +
|
| #if defined(OS_CHROMEOS)
|
| chromeos::RegisterPathProvider();
|
| #endif
|
|
|