Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 56b8cb40085cd8c7f40414149d656808ce7c9d9b..62b40ed250bf2dc2e01bec13277406b68718930d 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -47,6 +47,7 @@ |
#include "chrome/browser/net/net_pref_observer.h" |
#include "chrome/browser/net/predictor.h" |
#include "chrome/browser/net/proxy_service_factory.h" |
+#include "chrome/browser/permissions/chooser_permission_manager_factory.h" |
#include "chrome/browser/permissions/permission_manager.h" |
#include "chrome/browser/permissions/permission_manager_factory.h" |
#include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
@@ -1027,6 +1028,10 @@ content::BackgroundSyncController* ProfileImpl::GetBackgroundSyncController() { |
return BackgroundSyncControllerFactory::GetForProfile(this); |
} |
+content::ChooserPermissionManager* ProfileImpl::GetChooserPermissionManager() { |
+ return ChooserPermissionManagerFactory::GetForProfile(this); |
+} |
+ |
bool ProfileImpl::IsSameProfile(Profile* profile) { |
if (profile == static_cast<Profile*>(this)) |
return true; |