summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/geolocation_content_settings_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/geolocation/geolocation_content_settings_map.cc')
-rw-r--r--chrome/browser/geolocation/geolocation_content_settings_map.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/geolocation/geolocation_content_settings_map.cc b/chrome/browser/geolocation/geolocation_content_settings_map.cc
index 0bf798c..31a0a21 100644
--- a/chrome/browser/geolocation/geolocation_content_settings_map.cc
+++ b/chrome/browser/geolocation/geolocation_content_settings_map.cc
@@ -117,11 +117,6 @@ void GeolocationContentSettingsMap::SetDefaultContentSetting(
profile_->GetPrefs()->SetInteger(prefs::kGeolocationDefaultContentSetting,
setting == CONTENT_SETTING_DEFAULT ?
kDefaultSetting : setting);
-
- NotificationService::current()->Notify(
- NotificationType::GEOLOCATION_DEFAULT_CHANGED,
- Source<GeolocationContentSettingsMap>(this),
- NotificationService::NoDetails());
}
void GeolocationContentSettingsMap::SetContentSetting(
@@ -162,11 +157,6 @@ void GeolocationContentSettingsMap::SetContentSetting(
requesting_origin_settings_dictionary->SetWithoutPathExpansion(
embedding_origin.spec(), Value::CreateIntegerValue(setting));
}
-
- NotificationService::current()->Notify(
- NotificationType::GEOLOCATION_SETTINGS_CHANGED,
- Source<GeolocationContentSettingsMap>(this),
- NotificationService::NoDetails());
}
void GeolocationContentSettingsMap::ResetToDefault() {