Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
index c92046e5032dbcf99097557a96ab0dd67fe8208a..dc3ae87eefe4cc087b1fd7eee70fb96809b0b282 100644 |
--- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
+++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
@@ -7,11 +7,13 @@ |
#include <string> |
#include <vector> |
+#include "base/path_service.h" |
#include "base/threading/sequenced_worker_pool.h" |
#include "base/version.h" |
#include "components/component_updater/configurator_impl.h" |
#include "components/update_client/component_patcher_operation.h" |
#include "ios/chrome/browser/application_context.h" |
+#include "ios/chrome/browser/chrome_paths.h" |
#include "ios/chrome/browser/google/google_brand.h" |
#include "ios/chrome/common/channel_info.h" |
#include "ios/web/public/web_thread.h" |
@@ -152,6 +154,12 @@ IOSConfigurator::GetSequencedTaskRunner() const { |
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); |
} |
+base::FilePath ChromeConfigurator::GetMetadataPath() const { |
+ base::FilePath result; |
+ CHECK(PathService::Get(chrome::DIR_USER_DATA, &result)); |
+ return result.AppendASCII("component_metadata.json"); |
+} |
+ |
} // namespace |
scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator( |