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

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

Issue 2426133002: Revert of Switching ExtensionSpecialStoragePolicy::IsStorageDurable to use DurableStorage... (Closed)
Patch Set: Created 4 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 1bab3a7a88943a9c9d82c614a44ad30b80e7f917..31412c715993bedb4709985ed5e11616793c0333 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.h
+++ b/chrome/browser/extensions/extension_special_storage_policy.h
@@ -9,7 +9,6 @@
#include <string>
#include "base/synchronization/lock.h"
-#include "chrome/browser/profiles/profile.h"
#include "extensions/common/extension_set.h"
#include "storage/browser/quota/special_storage_policy.h"
#include "url/gurl.h"
@@ -31,7 +30,8 @@
// to determine which origins have these rights.
class ExtensionSpecialStoragePolicy : public storage::SpecialStoragePolicy {
public:
- explicit ExtensionSpecialStoragePolicy(Profile* profile);
+ explicit ExtensionSpecialStoragePolicy(
+ content_settings::CookieSettings* cookie_settings);
// storage::SpecialStoragePolicy methods used by storage subsystems and the
// browsing data remover. These methods are safe to call on any thread.
@@ -94,9 +94,7 @@
SpecialCollection file_handler_extensions_;
SpecialCollection isolated_extensions_;
SpecialCollection content_capabilities_unlimited_extensions_;
-
scoped_refptr<content_settings::CookieSettings> cookie_settings_;
- Profile* profile_;
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SPECIAL_STORAGE_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698