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

Unified Diff: webkit/quota/quota_types.h

Issue 11091042: Converted GetOriginsForHostTask to use base::PostTaskAndReply(). Deleted superclasses GetOriginsTas… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_task.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_types.h
diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_types.h
index cd2e0d0f3074d7e9995d58347dad49b4dfc75393..6748ae43b36689a4510142bc0e4609df818a6097 100644
--- a/webkit/quota/quota_types.h
+++ b/webkit/quota/quota_types.h
@@ -170,29 +170,6 @@ class CallbackQueueMap1
}
};
-template <typename CallbackType2, typename KEY, typename ARG1, typename ARG2>
-class CallbackQueueMap2
- : public CallbackQueueMapBase<CallbackType2,
- CallbackQueue2<CallbackType2, ARG1, ARG2>,
- KEY> {
- public:
- typedef typename CallbackQueueMapBase<
- CallbackType2,
- CallbackQueue2<CallbackType2, ARG1, ARG2>,
- KEY>::iterator iterator;
- typedef CallbackQueue2<CallbackType2, ARG1, ARG2> Queue;
-
- // Runs the callbacks added for the given |key| and clears the key
- // from the map.
- void Run(const KEY& key, ARG1 arg1, ARG2 arg2) {
- if (!this->HasCallbacks(key))
- return;
- Queue& queue = this->callback_map_[key];
- queue.Run(arg1, arg2);
- this->callback_map_.erase(key);
- }
-};
-
typedef CallbackQueueMap1<UsageCallback, std::string, int64>
HostUsageCallbackMap;
« no previous file with comments | « webkit/quota/quota_task.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698