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 2e1b6a050a9dd1ca7b23628fa844d40e064144a9..192136c337dc1e1b9795066348522b75aabd54c4 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -41,6 +41,7 @@ |
#include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" |
#include "chrome/browser/net/gaia/token_service.h" |
#include "chrome/browser/net/preconnect.h" |
+#include "chrome/browser/plugin_updater.h" |
#include "chrome/browser/policy/browser_policy_connector.h" |
#include "chrome/browser/prefs/pref_member.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -547,6 +548,9 @@ void LoginUtilsImpl::OnProfileCreated(Profile* user_profile, Status status) { |
btl->AddLoginTimeMarker("TPMOwn-End", false); |
} |
+ // Enable/disable plugins based on user preferences. |
+ PluginUpdater::GetInstance()->SetProfile(user_profile); |
+ |
// 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. |