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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.h

Issue 10407124: Don't force non-session only cookies to be session only cookies, instead delete on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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/content_settings/host_content_settings_map.h
diff --git a/chrome/browser/content_settings/host_content_settings_map.h b/chrome/browser/content_settings/host_content_settings_map.h
index 2cbfa5a32fc794714fd778d2dab6ced5a129cba6..5e05cf9b2befdf791787aa8d1438b7d7d86c2006 100644
--- a/chrome/browser/content_settings/host_content_settings_map.h
+++ b/chrome/browser/content_settings/host_content_settings_map.h
@@ -52,6 +52,11 @@ class HostContentSettingsMap
ExtensionService* extension_service,
bool incognito);
+ // In some cases, the ExtensionService is not available at the time the
+ // HostContentSettingsMap is constructed. In these cases, we register the
+ // service once it's available.
+ void RegisterExtensionService(ExtensionService* extension_service);
+
static void RegisterUserPrefs(PrefService* prefs);
// Returns the default setting for a particular content type. If |provider_id|
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/content_settings/host_content_settings_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698