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

Unified Diff: webkit/quota/quota_task.cc

Issue 7046019: Implement DatabaseQuotaClient's DeteleteOriginData method. (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
« webkit/quota/quota_task.h ('K') | « webkit/quota/quota_task.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_task.cc
===================================================================
--- webkit/quota/quota_task.cc (revision 85641)
+++ webkit/quota/quota_task.cc (working copy)
@@ -67,11 +67,19 @@
void QuotaThreadTask::CallRunOnTargetThread() {
DCHECK(target_message_loop_->BelongsToCurrentThread());
+ if (RunOnTargetThreadAsync())
kinuko 2011/05/23 04:55:53 when I saw the previous code I thought you would w
+ original_message_loop()->PostTask(
+ FROM_HERE, NewRunnableMethod(this, &QuotaThreadTask::CallCompleted));
+}
+
+bool QuotaThreadTask::RunOnTargetThreadAsync() {
RunOnTargetThread();
- original_message_loop()->PostTask(
- FROM_HERE, NewRunnableMethod(this, &QuotaThreadTask::CallCompleted));
+ return true;
}
+void QuotaThreadTask::RunOnTargetThread() {
+}
+
// QuotaTaskObserver -------------------------------------------------------
QuotaTaskObserver::~QuotaTaskObserver() {
« webkit/quota/quota_task.h ('K') | « webkit/quota/quota_task.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698