Commit eb9b67c9 authored by cfredric's avatar cfredric Committed by Commit Bot

Remove unused user_data_dir parameter.

Change-Id: I9a64a0426c784bd692905512f32735e8d7ae600d
Bug: 1126207
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398901Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Reviewed-by: default avatarNathan Parker <nparker@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Auto-Submit: Chris Fredrickson <cfredric@google.com>
Cr-Commit-Position: refs/heads/master@{#805115}
parent 152789eb
......@@ -130,8 +130,7 @@ FileTypePoliciesComponentInstallerPolicy::GetMimeTypes() const {
return std::vector<std::string>();
}
void RegisterFileTypePoliciesComponent(ComponentUpdateService* cus,
const base::FilePath& user_data_dir) {
void RegisterFileTypePoliciesComponent(ComponentUpdateService* cus) {
VLOG(1) << "Registering File Type Policies component.";
auto installer = base::MakeRefCounted<ComponentInstaller>(
std::make_unique<FileTypePoliciesComponentInstallerPolicy>());
......
......@@ -56,8 +56,7 @@ class FileTypePoliciesComponentInstallerPolicy
// Call once during startup to make the component update service aware of
// the File Type Policies component.
void RegisterFileTypePoliciesComponent(ComponentUpdateService* cus,
const base::FilePath& user_data_dir);
void RegisterFileTypePoliciesComponent(ComponentUpdateService* cus);
} // namespace component_updater
......
......@@ -149,10 +149,9 @@ void RegisterComponentsForUpdate(bool is_off_the_record_profile,
#endif // !defined(OS_CHROMEOS)
RegisterOriginTrialsComponent(cus, path);
RegisterFileTypePoliciesComponent(cus, path);
}
RegisterSSLErrorAssistantComponent(cus);
RegisterFileTypePoliciesComponent(cus);
RegisterMediaEngagementPreloadComponent(cus, base::OnceClosure());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment