Index: webkit/quota/mock_storage_client.cc |
diff --git a/webkit/quota/mock_storage_client.cc b/webkit/quota/mock_storage_client.cc |
index 0ba446807ad11d219e227c9f122307ffe34451ec..c9a3657e25684d6f2ed99681ed1ae12775dc0573 100644 |
--- a/webkit/quota/mock_storage_client.cc |
+++ b/webkit/quota/mock_storage_client.cc |
@@ -63,6 +63,15 @@ MockStorageClient::~MockStorageClient() { |
deletion_callbacks_.begin(), deletion_callbacks_.end()); |
} |
+void MockStorageClient::NotifyAllOrigins() { |
+ 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::AddOriginAndNotify( |
const GURL& origin_url, StorageType type, int64 size) { |
DCHECK(origin_data_.find(make_pair(origin_url, type)) == origin_data_.end()); |