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

Unified Diff: webkit/quota/quota_manager.cc

Issue 7606011: Track usage per-origin at the lowest level instead of per-host. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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: webkit/quota/quota_manager.cc
===================================================================
--- webkit/quota/quota_manager.cc (revision 96053)
+++ webkit/quota/quota_manager.cc (working copy)
@@ -975,6 +975,7 @@
return;
}
+ // note: returns host usage and quota
std::string host = net::GetHostOrSpecFromURL(origin);
UsageAndQuotaDispatcherTaskMap::iterator found =
usage_and_quota_dispatchers_.find(std::make_pair(host, type));

Powered by Google App Engine
This is Rietveld 408576698