| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index aa365dd3beef5faab6788e880dd25f645ed01d19..535d3c8b1ba9e1e34eeb39f22656772534efefec 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -44,6 +44,8 @@
|
| #include "chrome/browser/net/pref_proxy_config_tracker.h"
|
| #include "chrome/browser/net/proxy_service_factory.h"
|
| #include "chrome/browser/net/ssl_config_service_manager.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"
|
| #include "chrome/browser/plugins/plugin_prefs.h"
|
| #include "chrome/browser/policy/profile_policy_connector.h"
|
| @@ -1083,6 +1085,12 @@ content::SSLHostStateDelegate* ProfileImpl::GetSSLHostStateDelegate() {
|
| return ChromeSSLHostStateDelegateFactory::GetForProfile(this);
|
| }
|
|
|
| +// TODO(mlamouri): we should all these BrowserContext implementation to Profile
|
| +// instead of repeating them inside all Profile implementations.
|
| +content::PermissionManager* ProfileImpl::GetPermissionManager() {
|
| + return PermissionManagerFactory::GetForProfile(this);
|
| +}
|
| +
|
| bool ProfileImpl::IsSameProfile(Profile* profile) {
|
| if (profile == static_cast<Profile*>(this))
|
| return true;
|
|
|