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

Unified Diff: webkit/quota/quota_task.h

Issue 7002024: Implement QuotaTemporaryStorageEvictor. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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
« no previous file with comments | « no previous file | webkit/quota/quota_task.cc » ('j') | webkit/quota/quota_task.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_task.h
diff --git a/webkit/quota/quota_task.h b/webkit/quota/quota_task.h
index f866743ccf808b0f6c5cbf91f9eb4e39ce60f7aa..a692f8b106e1a7bc1df569631e0e2971e4c8c55d 100644
--- a/webkit/quota/quota_task.h
+++ b/webkit/quota/quota_task.h
@@ -78,6 +78,21 @@ class QuotaThreadTask : public QuotaTask,
scoped_refptr<base::MessageLoopProxy> target_message_loop_;
};
+// For delayed tasks that post tasks to the other thread.
+class QuotaDelayedThreadTask : public QuotaThreadTask {
+ public:
+ QuotaDelayedThreadTask(
+ QuotaTaskObserver* observer,
+ scoped_refptr<base::MessageLoopProxy> target_message_loop
+ int64 delay_ms);
+
+ protected:
+ virtual void Run() OVERRIDE;
+
+ private:
+ int64 delay_ms_;
+};
+
class QuotaTaskObserver {
public:
virtual ~QuotaTaskObserver();
« no previous file with comments | « no previous file | webkit/quota/quota_task.cc » ('j') | webkit/quota/quota_task.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698