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

Unified Diff: Source/web/WorkerPermissionClient.cpp

Issue 277353002: Use asynchronized api for file system request. [blink] (3/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply Kinuko's patch. Created 6 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
« no previous file with comments | « Source/web/WorkerPermissionClient.h ('k') | public/web/WebPermissionClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WorkerPermissionClient.cpp
diff --git a/Source/web/WorkerPermissionClient.cpp b/Source/web/WorkerPermissionClient.cpp
index 12584959979dc882c358ef6dab71542c2d8c841e..5ebcb2add2abb59c5d9bdf1b1b117c4990003a55 100644
--- a/Source/web/WorkerPermissionClient.cpp
+++ b/Source/web/WorkerPermissionClient.cpp
@@ -57,13 +57,6 @@ bool WorkerPermissionClient::allowDatabase(const WebString& name, const WebStrin
return m_proxy->allowDatabase(name, displayName, estimatedSize);
}
-bool WorkerPermissionClient::allowFileSystem()
-{
- if (!m_proxy)
- return true;
- return m_proxy->allowFileSystem();
-}
-
bool WorkerPermissionClient::requestFileSystemAccessSync()
{
if (!m_proxy)
@@ -71,16 +64,6 @@ bool WorkerPermissionClient::requestFileSystemAccessSync()
return m_proxy->requestFileSystemAccessSync();
}
-void WorkerPermissionClient::requestFileSystemAccessAsync(const WebPermissionCallbacks& callbacks)
-{
- if (!m_proxy) {
- WebPermissionCallbacks permissionCallbacks(callbacks);
- permissionCallbacks.doAllow();
- return;
- }
- m_proxy->requestFileSystemAccessAsync(callbacks);
-}
-
bool WorkerPermissionClient::allowIndexedDB(const WebString& name)
{
if (!m_proxy)
« no previous file with comments | « Source/web/WorkerPermissionClient.h ('k') | public/web/WebPermissionClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698