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

Unified Diff: chrome/browser/browsing_data/cookies_tree_model_unittest.cc

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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_special_storage_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/cookies_tree_model_unittest.cc
diff --git a/chrome/browser/browsing_data/cookies_tree_model_unittest.cc b/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
index ee95f9ee42cb8263378aea521803fd621f828fbe..6ae6f670fab6bd1573a8a8654a71389cc6c8c989 100644
--- a/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
+++ b/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
@@ -82,9 +82,15 @@
mock_browsing_data_flash_lso_helper_ =
new MockBrowsingDataFlashLSOHelper(profile_.get());
+ const char kExtensionScheme[] = "extensionscheme";
+ scoped_refptr<content_settings::CookieSettings> cookie_settings =
+ new content_settings::CookieSettings(
+ HostContentSettingsMapFactory::GetForProfile(profile_.get()),
+ profile_->GetPrefs(),
+ kExtensionScheme);
#if defined(ENABLE_EXTENSIONS)
special_storage_policy_ =
- new ExtensionSpecialStoragePolicy(profile_.get());
+ new ExtensionSpecialStoragePolicy(cookie_settings.get());
#endif
}
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698