Chromium Code Reviews| Index: chrome/browser/extensions/installed_loader.cc |
| diff --git a/chrome/browser/extensions/installed_loader.cc b/chrome/browser/extensions/installed_loader.cc |
| index 4f3cf1bec413ebf5f774f03334147a1a082f12cc..6e6fd2fcca827e3ebbe1166b7a7433f8a796df74 100644 |
| --- a/chrome/browser/extensions/installed_loader.cc |
| +++ b/chrome/browser/extensions/installed_loader.cc |
| @@ -42,6 +42,10 @@ |
| #include "extensions/common/manifest_handlers/background_info.h" |
| #include "extensions/common/manifest_url_handlers.h" |
| +#if defined(OS_CHROMEOS) |
| +#include "chrome/browser/chromeos/profiles/profile_helper.h" |
| +#endif |
| + |
| using base::UserMetricsAction; |
| using content::BrowserThread; |
| @@ -307,6 +311,11 @@ void InstalledLoader::LoadAllExtensions() { |
| } |
| for (size_t i = 0; i < extensions_info->size(); ++i) { |
| +#if defined(OS_CHROMEOS) |
| + // Don't load saved extensions in signin profile. |
|
Devlin
2017/03/08 17:24:32
This seems like the wrong place to put this... we
achuithb
2017/03/09 14:31:06
I've tried to keep as much of the old behavior as
Devlin
2017/03/13 19:39:35
LoadAllExtensions() basically iterates over the pr
achuithb
2017/03/15 00:40:25
There's state in the signin profile - for example
|
| + if (chromeos::ProfileHelper::IsSigninProfile(profile)) |
| + break; |
| +#endif |
| if (extensions_info->at(i)->extension_location != Manifest::COMMAND_LINE) |
| Load(*extensions_info->at(i), should_write_prefs); |
| } |