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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.h

Issue 7713034: HostContentSettingsMap refactoring. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Code review comments. Threading fixes. Mac + win fixes. Created 9 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/extensions/extension_special_storage_policy.h
diff --git a/chrome/browser/extensions/extension_special_storage_policy.h b/chrome/browser/extensions/extension_special_storage_policy.h
index 8ce9d30b4de18def91957d7317345081c7dcbeda..bed1f17f956a51ff54b4b6db290f10ca09392a30 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.h
+++ b/chrome/browser/extensions/extension_special_storage_policy.h
@@ -14,15 +14,14 @@
#include "webkit/quota/special_storage_policy.h"
class Extension;
-class HostContentSettingsMap;
+class CookieSettings;
// Special rights are granted to 'extensions' and 'applications'. The
// storage subsystems and the browsing data remover query this interface
// to determine which origins have these rights.
class ExtensionSpecialStoragePolicy : public quota::SpecialStoragePolicy {
public:
- explicit ExtensionSpecialStoragePolicy(
- HostContentSettingsMap* host_content_settings_map);
+ explicit ExtensionSpecialStoragePolicy(CookieSettings* cookie_settings);
// SpecialStoragePolicy methods used by storage subsystems and the browsing
// data remover. These methods are safe to call on any thread.
@@ -64,7 +63,7 @@ class ExtensionSpecialStoragePolicy : public quota::SpecialStoragePolicy {
SpecialCollection protected_apps_;
SpecialCollection unlimited_extensions_;
SpecialCollection file_handler_extensions_;
- scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
+ scoped_refptr<CookieSettings> cookie_settings_;
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SPECIAL_STORAGE_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698