Index: chrome/common/chrome_paths.cc |
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
index 52f42fe180fde9d0a794cdead319e80f300f30d1..e7983d1af26024001ce9234a690cb15cc6461f85 100644 |
--- a/chrome/common/chrome_paths.cc |
+++ b/chrome/common/chrome_paths.cc |
@@ -100,6 +100,9 @@ const base::FilePath::CharType kFilepathSinglePrefExtensions[] = |
#endif // defined(GOOGLE_CHROME_BUILD) |
#endif // defined(OS_LINUX) |
+const base::FilePath::CharType kRecoveryComponentInstallerDir[] = |
+ FILE_PATH_LITERAL("recovery/installer"); |
+ |
static base::LazyInstance<base::FilePath> |
g_invalid_specified_user_data_dir = LAZY_INSTANCE_INITIALIZER; |
@@ -392,6 +395,13 @@ bool PathProvider(int key, base::FilePath* result) { |
cur = cur.AppendASCII(kWidevineCdmAdapterFileName); |
break; |
#endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) |
+ |
+ case chrome::DIR_RECOVERY_COMPONENT_INSTALLER: |
+ if (!PathService::Get(chrome::DIR_USER_DATA, &cur)) |
+ return false; |
+ cur = cur.Append(kRecoveryComponentInstallerDir); |
+ break; |
+ |
case chrome::FILE_RESOURCES_PACK: |
#if defined(OS_MACOSX) && !defined(OS_IOS) |
if (base::mac::AmIBundled()) { |