Index: webkit/quota/mock_storage_client.cc |
diff --git a/webkit/quota/mock_storage_client.cc b/webkit/quota/mock_storage_client.cc |
index 897f100b86b325f5da3ccfd4f675f7987e49ab84..203c6cb53059e26145f46c7744ae3a695a2cf8f2 100644 |
--- a/webkit/quota/mock_storage_client.cc |
+++ b/webkit/quota/mock_storage_client.cc |
@@ -84,6 +84,15 @@ void MockStorageClient::ModifyOriginAndNotify( |
id(), origin_url, type, delta, IncrementMockTime()); |
} |
+void MockStorageClient::TouchAllOriginsAndNotify() { |
+ for (OriginDataMap::const_iterator itr = origin_data_.begin(); |
+ itr != origin_data_.end(); |
+ ++itr) { |
+ quota_manager_proxy_->quota_manager()->NotifyStorageModifiedInternal( |
+ id(), itr->first.first, itr->first.second, 0, IncrementMockTime()); |
+ } |
+} |
+ |
void MockStorageClient::AddOriginToErrorSet( |
const GURL& origin_url, StorageType type) { |
error_origins_.insert(make_pair(origin_url, type)); |