Rename SODA to speech recognition
This CL renames the generic pieces of the live caption feature from
"SODA" to "Speech Recognition". The SODA-specific pieces will not be
renamed including the presandbox hook, logic to retrieve the paths of
SODA-specific files, SODA component, and SODA client.
Bug: 1069284
Change-Id: Ic379b68cae607e77959a24368d93677a805b2713
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2142765
Commit-Queue: Evan Liu <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Robert Sesek <[email protected]>
Cr-Commit-Position: refs/heads/master@{#758073}
diff --git a/chrome/browser/component_updater/soda_component_installer.cc b/chrome/browser/component_updater/soda_component_installer.cc
index e30d308..e321229 100644
--- a/chrome/browser/component_updater/soda_component_installer.cc
+++ b/chrome/browser/component_updater/soda_component_installer.cc
@@ -65,7 +65,7 @@
bool SODAComponentInstallerPolicy::VerifyInstallation(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) const {
- return base::PathExists(install_dir.Append(soda::kSodaBinaryRelativePath));
+ return base::PathExists(install_dir.Append(speech::kSodaBinaryRelativePath));
}
bool SODAComponentInstallerPolicy::SupportsGroupPolicyEnabledComponentUpdates()
@@ -97,7 +97,7 @@
}
base::FilePath SODAComponentInstallerPolicy::GetRelativeInstallDir() const {
- return base::FilePath(soda::kSodaInstallationRelativePath);
+ return base::FilePath(speech::kSodaInstallationRelativePath);
}
void SODAComponentInstallerPolicy::GetHash(std::vector<uint8_t>* hash) const {
@@ -122,7 +122,7 @@
const base::FilePath& install_dir) {
#if !defined(OS_ANDROID)
prefs->SetFilePath(prefs::kSODAPath,
- install_dir.Append(soda::kSodaBinaryRelativePath));
+ install_dir.Append(speech::kSodaBinaryRelativePath));
#endif
}