StoragePartition::ClearData no longer takes an OriginMatcher

https://chromium-review.googlesource.com/c/1162172
This commit is contained in:
Jeremy Apthorp 2019-01-09 15:28:42 -08:00
parent deff96a1b0
commit 600c3f2c2f

View file

@ -444,10 +444,9 @@ void Session::ClearStorageData(mate::Arguments* args) {
// https://w3c.github.io/mediacapture-main/#dom-mediadeviceinfo-deviceid // https://w3c.github.io/mediacapture-main/#dom-mediadeviceinfo-deviceid
MediaDeviceIDSalt::Reset(browser_context()->prefs()); MediaDeviceIDSalt::Reset(browser_context()->prefs());
} }
storage_partition->ClearData( storage_partition->ClearData(options.storage_types, options.quota_types,
options.storage_types, options.quota_types, options.origin, options.origin, base::Time(), base::Time::Max(),
content::StoragePartition::OriginMatcherFunction(), base::Time(), base::Bind(&OnClearStorageDataDone, callback));
base::Time::Max(), base::Bind(&OnClearStorageDataDone, callback));
} }
void Session::FlushStorageData() { void Session::FlushStorageData() {