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

Unified Diff: Source/modules/quota/DeprecatedStorageQuota.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/quota/DeprecatedStorageInfo.cpp ('k') | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DeprecatedStorageQuota.cpp
diff --git a/Source/modules/quota/DeprecatedStorageQuota.cpp b/Source/modules/quota/DeprecatedStorageQuota.cpp
index 2ccf60f840bced72cbcd36a1dd7d6fa6d4aa223f..5c634003526a8132d5e34d236c7d47c63d732085 100644
--- a/Source/modules/quota/DeprecatedStorageQuota.cpp
+++ b/Source/modules/quota/DeprecatedStorageQuota.cpp
@@ -43,6 +43,7 @@
#include "public/platform/Platform.h"
#include "public/platform/WebStorageQuotaCallbacks.h"
#include "public/platform/WebStorageQuotaType.h"
+#include "public/platform/WebTraceLocation.h"
namespace blink {
@@ -58,13 +59,13 @@ void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionConte
WebStorageQuotaType storageType = static_cast<WebStorageQuotaType>(m_type);
if (storageType != WebStorageQuotaTypeTemporary && storageType != WebStorageQuotaTypePersistent) {
// Unknown storage type is requested.
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
SecurityOrigin* securityOrigin = executionContext->securityOrigin();
if (securityOrigin->isUnique()) {
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
@@ -80,13 +81,13 @@ void DeprecatedStorageQuota::requestQuota(ExecutionContext* executionContext, un
WebStorageQuotaType storageType = static_cast<WebStorageQuotaType>(m_type);
if (storageType != WebStorageQuotaTypeTemporary && storageType != WebStorageQuotaTypePersistent) {
// Unknown storage type is requested.
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
StorageQuotaClient* client = StorageQuotaClient::from(executionContext);
if (!client) {
- executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
+ executionContext->postTask(FROM_HERE, StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
}
« no previous file with comments | « Source/modules/quota/DeprecatedStorageInfo.cpp ('k') | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698