@@ -1,13 +1,13 @@
11diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
2−index 74bf041..5f34198 100644
2+index f4e119d..d9775bd 100644
33--- a/chrome/common/chrome_paths.cc
44+++ b/chrome/common/chrome_paths.cc
5−@@ -66,21 +66,14 @@ static base::LazyInstance<base::FilePath>
5+@@ -68,21 +68,14 @@ static base::LazyInstance<base::FilePath>
66 g_invalid_specified_user_data_dir = LAZY_INSTANCE_INITIALIZER;
77
88 // Gets the path for internal plugins.
99-bool GetInternalPluginsDirectory(base::FilePath* result) {
10−-#if defined(OS_MACOSX) && !defined(OS_IOS)
10+-#if defined(OS_MACOSX)
1111- // If called from Chrome, get internal plugins from a subdirectory of the
1212- // framework.
1313- if (base::mac::AmIBundled()) {
@@ -31,8 +31,8 @@ index 74bf041..5f34198 100644
3131+ *result = base::FilePath(value);
3232 }
3333
34− #if defined(OS_WIN)
35−@@ -253,11 +246,11 @@ bool PathProvider(int key, base::FilePath* result) {
34+ // Gets the path for bundled implementations of components. Note that these
35+@@ -272,7 +265,7 @@ bool PathProvider(int key, base::FilePath* result) {
3636 create_dir = true;
3737 break;
3838 case chrome::DIR_INTERNAL_PLUGINS:
@@ -40,13 +40,17 @@ index 74bf041..5f34198 100644
4040+ if (!GetInternalPluginsDirectory(&cur, "ALL"))
4141 return false;
4242 break;
43+ case chrome::DIR_COMPONENTS:
44+@@ -280,7 +273,7 @@ bool PathProvider(int key, base::FilePath* result) {
45+ return false;
46+ break;
4347 case chrome::DIR_PEPPER_FLASH_PLUGIN:
4448- if (!GetInternalPluginsDirectory(&cur))
4549+ if (!GetInternalPluginsDirectory(&cur, "PEPPERFLASH"))
4650 return false;
4751 cur = cur.Append(kPepperFlashBaseDirectory);
4852 break;
49−@@ -314,7 +307,7 @@ bool PathProvider(int key, base::FilePath* result) {
53+@@ -323,7 +316,7 @@ bool PathProvider(int key, base::FilePath* result) {
5054 // We currently need a path here to look up whether the plugin is disabled
5155 // and what its permissions are.
5256 case chrome::FILE_NACL_PLUGIN:
@@ -55,7 +59,7 @@ index 74bf041..5f34198 100644
5559 return false;
5660 cur = cur.Append(kInternalNaClPluginFileName);
5761 break;
58−@@ -349,7 +342,7 @@ bool PathProvider(int key, base::FilePath* result) {
62+@@ -358,7 +351,7 @@ bool PathProvider(int key, base::FilePath* result) {
5963 cur = cur.DirName();
6064 }
6165 #else
@@ -64,12 +68,3 @@ index 74bf041..5f34198 100644
6468 return false;
6569 #endif
6670 cur = cur.Append(FILE_PATH_LITERAL("pnacl"));
67−@@ -366,7 +359,7 @@ bool PathProvider(int key, base::FilePath* result) {
68− // In the component case, this is the source adapter. Otherwise, it is the
69− // actual Pepper module that gets loaded.
70− case chrome::FILE_WIDEVINE_CDM_ADAPTER:
71−- if (!GetInternalPluginsDirectory(&cur))
72−+ if (!GetInternalPluginsDirectory(&cur, "WIDEVINE"))
73− return false;
74− cur = cur.AppendASCII(kWidevineCdmAdapterFileName);
75− break;