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/usage_tracker.cc

Issue 7634013: Minor cleanup to UsageTracker.IsWorking(). (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
« no previous file with comments | « webkit/quota/usage_tracker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/usage_tracker.cc
===================================================================
--- webkit/quota/usage_tracker.cc (revision 96475)
+++ webkit/quota/usage_tracker.cc (working copy)
@@ -323,19 +323,6 @@
}
}
-bool UsageTracker::IsWorking() {
- if (global_usage_.pending_clients > 0)
- return false;
- for (std::map<std::string, TrackingInfo>::iterator iter =
- outstanding_host_usage_.begin();
- iter != outstanding_host_usage_.end();
- ++iter) {
- if (iter->second.pending_clients > 0)
- return false;
- }
- return true;
-}
-
// ClientUsageTracker ----------------------------------------------------
ClientUsageTracker::ClientUsageTracker(
« no previous file with comments | « webkit/quota/usage_tracker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698