Chromium Code Reviews| Index: chrome/browser/extensions/extension_util.cc |
| diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc |
| index 4a861653b6ebb4e3906532324f16a8e501d3f259..75c7c213add0b53641bb65c4b23dc586c9080c30 100644 |
| --- a/chrome/browser/extensions/extension_util.cc |
| +++ b/chrome/browser/extensions/extension_util.cc |
| @@ -126,7 +126,8 @@ bool IsIncognitoEnabled(const std::string& extension_id, |
| return false; |
| // If this is an existing component extension we always allow it to |
| // work in incognito mode. |
| - if (extension->location() == Manifest::COMPONENT) |
| + if (extension->location() == Manifest::COMPONENT || |
| + extension->location() == Manifest::EXTERNAL_COMPONENT) |
|
benwells
2016/05/23 01:51:19
Nit: please add braces now your condition spans tw
mark a. foltz
2016/05/23 22:08:13
Done.
|
| return true; |
| if (IsWhitelistedForIncognito(extension)) |
| return true; |