| Index: chrome/common/chrome_paths.cc
|
| diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
|
| index ed7cdfb759656f6197103a108f4d7019f5d0f90b..54f7b3fde8bcf9dbfebd4d074add0862de03f303 100644
|
| --- a/chrome/common/chrome_paths.cc
|
| +++ b/chrome/common/chrome_paths.cc
|
| @@ -60,6 +60,11 @@ const base::FilePath::CharType kFilepathSinglePrefExtensions[] =
|
| #else
|
| FILE_PATH_LITERAL("/usr/share/chromium/extensions");
|
| #endif // defined(GOOGLE_CHROME_BUILD)
|
| +
|
| +// The path to the hint file that tells the pepper plugin loader
|
| +// where it can find the latest component updated flash.
|
| +const base::FilePath::CharType kComponentUpdatedFlashHint[] =
|
| + FILE_PATH_LITERAL("latest-component-updated-flash");
|
| #endif // defined(OS_LINUX)
|
|
|
| static base::LazyInstance<base::FilePath>
|
| @@ -565,6 +570,14 @@ bool PathProvider(int key, base::FilePath* result) {
|
| cur = cur.Append(kOfflinePageMetadataDirname);
|
| break;
|
| #endif // defined(OS_ANDROID)
|
| +#if defined(OS_LINUX)
|
| + case chrome::FILE_COMPONENT_FLASH_HINT:
|
| + if (!PathService::Get(chrome::DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN,
|
| + &cur))
|
| + return false;
|
| + cur = cur.Append(kComponentUpdatedFlashHint);
|
| + break;
|
| +#endif // defined(OS_LINUX)
|
|
|
| default:
|
| return false;
|
|
|