Index: chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
index 1636411f545325c79cdce0668eadfbeb115109a2..27c9246a882a2eeb88bdd524b184700834b0c124 100644 |
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer.cc |
@@ -257,7 +257,7 @@ class SupervisedUserWhitelistComponentInstallerTraits |
void ComponentReady(const base::Version& version, |
const base::FilePath& install_dir, |
std::unique_ptr<base::DictionaryValue> manifest) override; |
- base::FilePath GetBaseDirectory() const override; |
+ std::string GetASCIIDirectoryName() const override; |
void GetHash(std::vector<uint8_t>* hash) const override; |
std::string GetName() const override; |
std::string GetAp() const override; |
@@ -305,11 +305,11 @@ void SupervisedUserWhitelistComponentInstallerTraits::ComponentReady( |
GetRawWhitelistPath(*manifest, install_dir)); |
} |
-base::FilePath |
-SupervisedUserWhitelistComponentInstallerTraits::GetBaseDirectory() const { |
- base::FilePath whitelist_directory; |
- PathService::Get(DIR_SUPERVISED_USER_WHITELISTS, &whitelist_directory); |
- return whitelist_directory.AppendASCII(crx_id_); |
+std::string |
+SupervisedUserWhitelistComponentInstallerTraits::GetASCIIDirectoryName() const { |
+ return base::FilePath("SupervisedUserWhitelists") |
+ .AppendASCII(crx_id_) |
+ .value(); |
} |
void SupervisedUserWhitelistComponentInstallerTraits::GetHash( |