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

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

Issue 469773002: Cleanup blink:: prefix usage in Source/core/modules/[mediasource/*.cpp to websockets/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
Index: Source/modules/quota/DeprecatedStorageQuota.cpp
diff --git a/Source/modules/quota/DeprecatedStorageQuota.cpp b/Source/modules/quota/DeprecatedStorageQuota.cpp
index 1d646b531eb1230cc6b68a7cfff37866dc22e205..2f22c960e49d09682dfc2b1d4e25a739e27d94fe 100644
--- a/Source/modules/quota/DeprecatedStorageQuota.cpp
+++ b/Source/modules/quota/DeprecatedStorageQuota.cpp
@@ -56,8 +56,8 @@ void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionConte
{
ASSERT(executionContext);
- blink::WebStorageQuotaType storageType = static_cast<blink::WebStorageQuotaType>(m_type);
- if (storageType != blink::WebStorageQuotaTypeTemporary && storageType != blink::WebStorageQuotaTypePersistent) {
+ WebStorageQuotaType storageType = static_cast<WebStorageQuotaType>(m_type);
+ if (storageType != WebStorageQuotaTypeTemporary && storageType != WebStorageQuotaTypePersistent) {
// Unknown storage type is requested.
executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
@@ -71,15 +71,15 @@ void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionConte
KURL storagePartition = KURL(KURL(), securityOrigin->toString());
OwnPtr<StorageQuotaCallbacks> callbacks = DeprecatedStorageQuotaCallbacksImpl::create(successCallback, errorCallback);
- blink::Platform::current()->queryStorageUsageAndQuota(storagePartition, storageType, callbacks.release());
+ Platform::current()->queryStorageUsageAndQuota(storagePartition, storageType, callbacks.release());
}
void DeprecatedStorageQuota::requestQuota(ExecutionContext* executionContext, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
{
ASSERT(executionContext);
- blink::WebStorageQuotaType storageType = static_cast<blink::WebStorageQuotaType>(m_type);
- if (storageType != blink::WebStorageQuotaTypeTemporary && storageType != blink::WebStorageQuotaTypePersistent) {
+ WebStorageQuotaType storageType = static_cast<WebStorageQuotaType>(m_type);
+ if (storageType != WebStorageQuotaTypeTemporary && storageType != WebStorageQuotaTypePersistent) {
// Unknown storage type is requested.
executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
return;
« no previous file with comments | « Source/modules/push_messaging/PushManager.cpp ('k') | Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698