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

Unified Diff: webkit/quota/quota_types.h

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/quota_manager.cc ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_types.h
===================================================================
--- webkit/quota/quota_types.h (revision 96443)
+++ webkit/quota/quota_types.h (working copy)
@@ -163,6 +163,10 @@
return (callback_map_.find(key) != callback_map_.end());
}
+ bool HasAnyCallbacks() const {
+ return !callback_map_.empty();
+ }
+
iterator Begin() { return callback_map_.begin(); }
iterator End() { return callback_map_.end(); }
« no previous file with comments | « webkit/quota/quota_manager.cc ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698