Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: storage/browser/fileapi/file_system_context.cc

Issue 2594723002: Count number of origins with data affected by clearing "cookies and site data". (Closed)
Patch Set: Add comments for issues with incomplete data deletion Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: storage/browser/fileapi/file_system_context.cc
diff --git a/storage/browser/fileapi/file_system_context.cc b/storage/browser/fileapi/file_system_context.cc
index 142489523a08d3dd7112aaf8ebb16ac571550400..0db6c5ddfa8dcba6bf2efac9fd3e07e25520ffe1 100644
--- a/storage/browser/fileapi/file_system_context.cc
+++ b/storage/browser/fileapi/file_system_context.cc
@@ -216,7 +216,7 @@ bool FileSystemContext::DeleteDataForOriginOnFileTaskRunner(
const GURL& origin_url) {
DCHECK(default_file_task_runner()->RunsTasksOnCurrentThread());
DCHECK(origin_url == origin_url.GetOrigin());
-
+ LOG(ERROR) << origin_url.spec();
bool success = true;
for (FileSystemBackendMap::iterator iter = backend_map_.begin();
iter != backend_map_.end();
@@ -224,6 +224,7 @@ bool FileSystemContext::DeleteDataForOriginOnFileTaskRunner(
FileSystemBackend* backend = iter->second;
if (!backend->GetQuotaUtil())
continue;
+ LOG(ERROR) << "fs type: " << iter->first;
if (backend->GetQuotaUtil()->DeleteOriginDataOnFileTaskRunner(
this, quota_manager_proxy(), origin_url, iter->first)
!= base::File::FILE_OK) {

Powered by Google App Engine
This is Rietveld 408576698