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

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

Issue 2351803002: Switching ExtensionSpecialStoragePolicy::IsStorageDurable to use DurableStoragePermissionContext. (Closed)
Patch Set: Switching IsStorageDurable() to use DurableStoragePermissionContext. 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 6ae6f670fab6bd1573a8a8654a71389cc6c8c989..ee95f9ee42cb8263378aea521803fd621f828fbe 100644
--- a/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
+++ b/chrome/browser/browsing_data/cookies_tree_model_unittest.cc
@@ -82,15 +82,9 @@ class CookiesTreeModelTest : public testing::Test {
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(cookie_settings.get());
+ new ExtensionSpecialStoragePolicy(profile_.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