Index: content/browser/storage_partition_impl.cc |
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc |
index 44da402594d2e46cc0ea4e3fbea7695705e6f851..ab0e7a567215a27e2e30a9cd9ff18fde6144c241 100644 |
--- a/content/browser/storage_partition_impl.cc |
+++ b/content/browser/storage_partition_impl.cc |
@@ -75,6 +75,11 @@ void ClearOriginOnIOThread( |
origins, |
quota::kStorageTypePersistent); |
} |
+ if (storage_mask & StoragePartition::kQuotaManagedSyncableStorage) { |
+ ClearQuotaManagedOriginsOnIOThread(quota_manager, |
+ origins, |
+ quota::kStorageTypeSyncable); |
+ } |
} |
void ClearAllDataOnIOThread( |
@@ -103,6 +108,11 @@ void ClearAllDataOnIOThread( |
quota::kStorageTypePersistent, base::Time(), |
base::Bind(&ClearQuotaManagedOriginsOnIOThread, quota_manager)); |
} |
+ if (storage_mask & StoragePartition::kQuotaManagedSyncableStorage) { |
+ quota_manager->GetOriginsModifiedSince( |
+ quota::kStorageTypeSyncable, base::Time(), |
+ base::Bind(&ClearQuotaManagedOriginsOnIOThread, quota_manager)); |
+ } |
} |
void ClearedShaderCacheOnIOThread(base::Closure callback) { |