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

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

Issue 8383004: Adding CookieSettings for storing cookie content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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 bce392c0d548f36ead349d2955c7c73e1ecef972..df2f2a379fb3476a8537ff59f383b6f1f80d18c6 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.h
+++ b/chrome/browser/extensions/extension_special_storage_policy.h
@@ -13,16 +13,15 @@
#include "googleurl/src/gurl.h"
#include "webkit/quota/special_storage_policy.h"
+class CookieSettings;
class Extension;
-class HostContentSettingsMap;
// 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.
@@ -65,7 +64,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