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..a11c66ffc5ec26428ec1d8ab4c796ef6b8624479 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_updater.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()); |
} |
+ // Enable/disable plugins based on user preferences. |
+ PluginUpdater::GetInstance()->DisablePluginGroupsFromPrefs(profile); |
+ btl->AddLoginTimeMarker("PluginsStateUpdated", 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. |