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

Unified Diff: webkit/quota/quota_manager.cc

Issue 7056025: More WebSQLDatabase and QuotaManager integration. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 86348)
+++ webkit/quota/quota_manager.cc (working copy)
@@ -85,11 +85,13 @@
}
void DidGetGlobalUsage(int64 usage) {
+ DCHECK_GE(usage, 0);
kinuko 2011/05/24 05:31:36 fyi: the latest manager code can handle usage <= 0
global_usage_ = usage;
CheckCompleted();
}
void DidGetHostUsage(const std::string& host_unused, int64 usage) {
+ DCHECK_GE(usage, 0);
host_usage_ = usage;
CheckCompleted();
}

Powered by Google App Engine
This is Rietveld 408576698