Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Unified Diff: chrome/browser/geolocation/geolocation_settings_state.cc

Issue 3305004: Fix geolocation icon behaviour on navigation (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/geolocation_settings_state.cc
diff --git a/chrome/browser/geolocation/geolocation_settings_state.cc b/chrome/browser/geolocation/geolocation_settings_state.cc
index fa9b17298cf93f4e8e6bccecd00f97008443bf63..5c7b784d954e4a2b22da39c9d5e09a25c299ff93 100644
--- a/chrome/browser/geolocation/geolocation_settings_state.cc
+++ b/chrome/browser/geolocation/geolocation_settings_state.cc
@@ -44,6 +44,10 @@ void GeolocationSettingsState::DidNavigate(
state_map_.clear();
}
+void GeolocationSettingsState::ClearStateMap() {
+ state_map_.clear();
+}
+
void GeolocationSettingsState::GetDetailedInfo(
FormattedHostsPerState* formatted_hosts_per_state,
unsigned int* tab_state_flags) const {
« no previous file with comments | « chrome/browser/geolocation/geolocation_settings_state.h ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698