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

Unified Diff: Source/web/WebWorkerClientImpl.cpp

Issue 20262003: Use Platform::queryUsageAndQuota and deprecate WebFrameClient::queryUsageAndQuota (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/web/WebWorkerClientImpl.h ('k') | Source/web/WorkerStorageQuotaCallbacksBridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebWorkerClientImpl.cpp
diff --git a/Source/web/WebWorkerClientImpl.cpp b/Source/web/WebWorkerClientImpl.cpp
index 55838c7526278938ee654d4c9ee251ebf7b9bc74..a4d5ed566ba13a4412f44d38c094b32aec192b1e 100644
--- a/Source/web/WebWorkerClientImpl.cpp
+++ b/Source/web/WebWorkerClientImpl.cpp
@@ -144,15 +144,6 @@ bool WebWorkerClientImpl::allowIndexedDB(const WebString& name)
return !webView->permissionClient() || webView->permissionClient()->allowIndexedDB(m_webFrame, name, WebSecurityOrigin());
}
-void WebWorkerClientImpl::queryUsageAndQuota(WebStorageQuotaType type, WebStorageQuotaCallbacks* callbacks)
-{
- if (askedToTerminate()) {
- callbacks->didFail(WebStorageQuotaErrorAbort);
- return;
- }
- m_webFrame->client()->queryStorageUsageAndQuota(m_webFrame, type, callbacks);
-}
-
WebWorkerClientImpl::WebWorkerClientImpl(Worker* worker, WebFrameImpl* webFrame, PassOwnPtr<WorkerClients> workerClients)
: WebCore::WorkerMessagingProxy(worker, workerClients)
, m_webFrame(webFrame)
« no previous file with comments | « Source/web/WebWorkerClientImpl.h ('k') | Source/web/WorkerStorageQuotaCallbacksBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698