Index: chrome/browser/profile.cc |
=================================================================== |
--- chrome/browser/profile.cc (revision 41987) |
+++ chrome/browser/profile.cc (working copy) |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/extensions/extensions_service.h" |
#include "chrome/browser/extensions/user_script_master.h" |
#include "chrome/browser/favicon_service.h" |
+#include "chrome/browser/geolocation/geolocation_content_settings_map.h" |
#include "chrome/browser/spellcheck_host.h" |
#include "chrome/browser/transport_security_persister.h" |
#include "chrome/browser/history/history.h" |
@@ -408,6 +409,10 @@ |
return profile_->GetHostZoomMap(); |
} |
+ virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() { |
+ return profile_->GetGeolocationContentSettingsMap(); |
+ } |
+ |
virtual Blacklist* GetPrivacyBlacklist() { |
return profile_->GetPrivacyBlacklist(); |
} |
@@ -987,6 +992,12 @@ |
return host_zoom_map_.get(); |
} |
+GeolocationContentSettingsMap* ProfileImpl::GetGeolocationContentSettingsMap() { |
+ if (!geolocation_content_settings_map_.get()) |
+ geolocation_content_settings_map_ = new GeolocationContentSettingsMap(this); |
+ return geolocation_content_settings_map_.get(); |
+} |
+ |
Blacklist* ProfileImpl::GetPrivacyBlacklist() { |
if (!CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnablePrivacyBlacklists)) |