Chromium Code Reviews| Index: chrome/browser/chromeos/login/login_utils.cc |
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
| index cc993f8ad5f7b735fbb57afcfd4b502331527191..9ca2e1ca4e56ada4897be62e19007c212374645e 100644 |
| --- a/chrome/browser/chromeos/login/login_utils.cc |
| +++ b/chrome/browser/chromeos/login/login_utils.cc |
| @@ -37,6 +37,7 @@ |
| #include "chrome/browser/net/gaia/token_service.h" |
| #include "chrome/browser/net/preconnect.h" |
| #include "chrome/browser/net/pref_proxy_config_service.h" |
| +#include "chrome/browser/plugin_service.h" |
| #include "chrome/browser/prefs/pref_member.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/profiles/profile_manager.h" |
| @@ -307,6 +308,10 @@ void LoginUtilsImpl::CompleteLogin( |
| SetFirstLoginPrefs(profile->GetPrefs()); |
| } |
| + // Reinitialize plugins to enable/disable them based on user preferences. |
| + PluginService::InitGlobalInstance(profile); |
|
Bernhard Bauer
2011/01/20 09:37:15
I'm a bit wary about calling an Init method more t
Dmitry Polukhin
2011/01/20 09:58:44
Done.
|
| + btl->AddLoginTimeMarker("PluginsReinitialized", false); |
| + |
| // We suck. This is a hack since we do not have the enterprise feature |
| // done yet to pull down policies from the domain admin. We'll take this |
| // out when we get that done properly. |