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

Unified Diff: Source/modules/quota/DeprecatedStorageInfo.cpp

Issue 915703002: Add task location information to ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 5 years, 10 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 | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/quota/DeprecatedStorageQuota.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DeprecatedStorageInfo.cpp
diff --git a/Source/modules/quota/DeprecatedStorageInfo.cpp b/Source/modules/quota/DeprecatedStorageInfo.cpp
index c5a60a1b332c4897d17e6f9146d8d69990ee277e..7ecd427cad501ed4325368481e30e65d8f0ec269 100644
--- a/Source/modules/quota/DeprecatedStorageInfo.cpp
+++ b/Source/modules/quota/DeprecatedStorageInfo.cpp
@@ -38,6 +38,7 @@
#include "modules/quota/StorageErrorCallback.h"
#include "modules/quota/StorageQuotaCallback.h"
#include "modules/quota/StorageUsageCallback.h"
+#include "public/platform/WebTraceLocation.h"
namespace blink {
@@ -51,7 +52,7 @@ void DeprecatedStorageInfo::queryUsageAndQuota(ExecutionContext* executionContex
DeprecatedStorageQuota* storageQuota = getStorageQuota(storageType);
if (!storageQuota) {
// Unknown storage type is requested.
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
storageQuota->queryUsageAndQuota(executionContext, successCallback, errorCallback);
@@ -63,7 +64,7 @@ void DeprecatedStorageInfo::requestQuota(ExecutionContext* executionContext, int
DeprecatedStorageQuota* storageQuota = getStorageQuota(storageType);
if (!storageQuota) {
// Unknown storage type is requested.
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
storageQuota->requestQuota(executionContext, newQuotaInBytes, successCallback, errorCallback);
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/quota/DeprecatedStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698