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

Unified Diff: chrome/browser/profile.h

Issue 1084005: Add GeolocationContentSettingsMap, a geolocation-specific variant of HostCont... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/profile.h
===================================================================
--- chrome/browser/profile.h (revision 41987)
+++ chrome/browser/profile.h (working copy)
@@ -42,6 +42,7 @@
class ExtensionMessageService;
class ExtensionsService;
class FaviconService;
+class GeolocationContentSettingsMap;
class HistoryService;
class HostContentSettingsMap;
class HostZoomMap;
@@ -298,6 +299,9 @@
// Returns the Hostname <-> Zoom Level map for this profile.
virtual HostZoomMap* GetHostZoomMap() = 0;
+ // Returns the geolocation settings map for this profile.
+ virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0;
+
// Returns the Privacy Blacklist for this profile.
virtual Blacklist* GetPrivacyBlacklist() = 0;
@@ -471,6 +475,7 @@
virtual net::SSLConfigService* GetSSLConfigService();
virtual HostContentSettingsMap* GetHostContentSettingsMap();
virtual HostZoomMap* GetHostZoomMap();
+ virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
virtual Blacklist* GetPrivacyBlacklist();
virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
virtual SessionService* GetSessionService();
@@ -558,6 +563,8 @@
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<HostZoomMap> host_zoom_map_;
+ scoped_refptr<GeolocationContentSettingsMap>
+ geolocation_content_settings_map_;
scoped_refptr<Blacklist> privacy_blacklist_;
scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
scoped_refptr<DownloadManager> download_manager_;

Powered by Google App Engine
This is Rietveld 408576698