Home
last modified time | relevance | path

Searched refs:storage_policy_ (Results 1 – 16 of 16) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sessions/
H A Dsession_data_deleter.cc61 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; member in __anone50328800111::SessionDataDeleter
70 : storage_policy_(storage_policy), in SessionDataDeleter()
77 if (storage_policy_.get() && storage_policy_->HasSessionOnlyOrigins()) { in Run()
111 if (!storage_policy_.get() || !storage_policy_->HasSessionOnlyOrigins()) in Run()
131 storage_policy_->CreateDeleteCookieOnExitPredicate(); in DeleteSessionOnlyOriginCookies()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/dom_storage/
H A Ddom_storage_context_wrapper.cc76 : storage_policy_(std::move(storage_policy)), in StoragePolicyObserver()
78 storage_policy_->AddObserver(this); in StoragePolicyObserver()
86 storage_policy_->RemoveObserver(this); in ~StoragePolicyObserver()
103 const scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; member in content::DOMStorageContextWrapper::StoragePolicyObserver
129 : partition_(partition), storage_policy_(special_storage_policy) { in DOMStorageContextWrapper()
282 if (storage_policy_) { in OpenLocalStorage()
399 DCHECK(storage_policy_); in EnsureLocalStorageOriginIsTracked()
429 if (!storage_policy_) in ShouldPurgeLocalStorageOnShutdown()
431 return storage_policy_->IsStorageSessionOnly(origin.GetURL()) && in ShouldPurgeLocalStorageOnShutdown()
432 !storage_policy_->IsStorageProtected(origin.GetURL()); in ShouldPurgeLocalStorageOnShutdown()
H A Ddom_storage_context_wrapper.h175 const scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/dom_storage/
H A Ddom_storage_context_wrapper.cc76 : storage_policy_(std::move(storage_policy)), in StoragePolicyObserver()
78 storage_policy_->AddObserver(this); in StoragePolicyObserver()
86 storage_policy_->RemoveObserver(this); in ~StoragePolicyObserver()
103 const scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; member in content::DOMStorageContextWrapper::StoragePolicyObserver
129 : partition_(partition), storage_policy_(special_storage_policy) { in DOMStorageContextWrapper()
283 if (storage_policy_) { in OpenLocalStorage()
400 DCHECK(storage_policy_); in EnsureLocalStorageOriginIsTracked()
430 if (!storage_policy_) in ShouldPurgeLocalStorageOnShutdown()
432 return storage_policy_->IsStorageSessionOnly(origin.GetURL()) && in ShouldPurgeLocalStorageOnShutdown()
433 !storage_policy_->IsStorageProtected(origin.GetURL()); in ShouldPurgeLocalStorageOnShutdown()
H A Ddom_storage_context_wrapper.h175 const scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/storage/browser/quota/
H A Dusage_tracker_unittest.cc132 : storage_policy_(new MockSpecialStoragePolicy()), in UsageTrackerTest()
136 storage_policy_.get()) {} in UsageTrackerTest()
209 if (!storage_policy_->IsStorageUnlimited(origin.GetURL())) { in GrantUnlimitedStoragePolicy()
210 storage_policy_->AddUnlimited(origin.GetURL()); in GrantUnlimitedStoragePolicy()
211 storage_policy_->NotifyGranted(origin, in GrantUnlimitedStoragePolicy()
217 if (storage_policy_->IsStorageUnlimited(origin.GetURL())) { in RevokeUnlimitedStoragePolicy()
218 storage_policy_->RemoveUnlimited(origin.GetURL()); in RevokeUnlimitedStoragePolicy()
219 storage_policy_->NotifyRevoked(origin, in RevokeUnlimitedStoragePolicy()
237 scoped_refptr<MockSpecialStoragePolicy> storage_policy_; member in storage::UsageTrackerTest
/dports/www/chromium-legacy/chromium-88.0.4324.182/storage/browser/quota/
H A Dusage_tracker_unittest.cc121 : storage_policy_(base::MakeRefCounted<MockSpecialStoragePolicy>()), in UsageTrackerTest()
125 storage_policy_.get()) {} in UsageTrackerTest()
181 if (!storage_policy_->IsStorageUnlimited(origin.GetURL())) { in GrantUnlimitedStoragePolicy()
182 storage_policy_->AddUnlimited(origin.GetURL()); in GrantUnlimitedStoragePolicy()
183 storage_policy_->NotifyGranted(origin, in GrantUnlimitedStoragePolicy()
189 if (storage_policy_->IsStorageUnlimited(origin.GetURL())) { in RevokeUnlimitedStoragePolicy()
190 storage_policy_->RemoveUnlimited(origin.GetURL()); in RevokeUnlimitedStoragePolicy()
191 storage_policy_->NotifyRevoked(origin, in RevokeUnlimitedStoragePolicy()
211 scoped_refptr<MockSpecialStoragePolicy> storage_policy_; member in storage::UsageTrackerTest
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/shell/browser/
H A Dshell_browser_context.cc22 storage_policy_(new ShellSpecialStoragePolicy) {} in ShellBrowserContext()
33 return storage_policy_.get(); in GetSpecialStoragePolicy()
H A Dshell_browser_context.h32 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_;
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/shell/browser/
H A Dshell_browser_context.cc22 storage_policy_(new ShellSpecialStoragePolicy) {} in ShellBrowserContext()
33 return storage_policy_.get(); in GetSpecialStoragePolicy()
H A Dshell_browser_context.h32 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_;
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/indexed_db/
H A Dindexed_db_control_wrapper.cc22 storage_policy_(std::move(storage_policy)), in StoragePolicyObserver()
24 storage_policy_->AddObserver(this); in StoragePolicyObserver()
27 ~StoragePolicyObserver() override { storage_policy_->RemoveObserver(this); } in ~StoragePolicyObserver()
39 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; member in content::IndexedDBControlWrapper::StoragePolicyObserver
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/storage/browser/file_system/
H A Dfile_system_context_unittest.cc53 storage_policy_ = new MockSpecialStoragePolicy(); in SetUp()
57 base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get()); in SetUp()
66 storage_policy_.get(), mock_quota_manager_->proxy(), in CreateFileSystemContextForTest()
93 scoped_refptr<SpecialStoragePolicy> storage_policy_; member in storage::__anon7bf807450111::FileSystemContextTest
H A Dobfuscated_file_util_unittest.cc173 storage_policy_ = base::MakeRefCounted<MockSpecialStoragePolicy>(); in SetUp()
177 base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get(), in SetUp()
733 storage_policy_->AddIsolated(origin_.GetURL()); in DestroyDirectoryDatabase_IsolatedTestBody()
735 CreateObfuscatedFileUtil(storage_policy_.get()); in DestroyDirectoryDatabase_IsolatedTestBody()
751 storage_policy_->AddIsolated(origin_.GetURL()); in GetDirectoryDatabase_IsolatedTestBody()
753 CreateObfuscatedFileUtil(storage_policy_.get()); in GetDirectoryDatabase_IsolatedTestBody()
764 storage_policy_->RemoveIsolated(url.origin().GetURL()); in GetDirectoryDatabase_IsolatedTestBody()
795 scoped_refptr<MockSpecialStoragePolicy> storage_policy_; member in storage::ObfuscatedFileUtilTest
/dports/www/chromium-legacy/chromium-88.0.4324.182/storage/browser/file_system/
H A Dfile_system_context_unittest.cc54 storage_policy_ = new MockSpecialStoragePolicy(); in SetUp()
58 base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get()); in SetUp()
67 storage_policy_.get(), mock_quota_manager_->proxy(), in CreateFileSystemContextForTest()
94 scoped_refptr<SpecialStoragePolicy> storage_policy_; member in storage::__anon38571e4a0111::FileSystemContextTest
H A Dobfuscated_file_util_unittest.cc173 storage_policy_ = base::MakeRefCounted<MockSpecialStoragePolicy>(); in SetUp()
177 base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get(), in SetUp()
733 storage_policy_->AddIsolated(origin_.GetURL()); in DestroyDirectoryDatabase_IsolatedTestBody()
735 CreateObfuscatedFileUtil(storage_policy_.get()); in DestroyDirectoryDatabase_IsolatedTestBody()
751 storage_policy_->AddIsolated(origin_.GetURL()); in GetDirectoryDatabase_IsolatedTestBody()
753 CreateObfuscatedFileUtil(storage_policy_.get()); in GetDirectoryDatabase_IsolatedTestBody()
764 storage_policy_->RemoveIsolated(url.origin().GetURL()); in GetDirectoryDatabase_IsolatedTestBody()
795 scoped_refptr<MockSpecialStoragePolicy> storage_policy_; member in storage::ObfuscatedFileUtilTest