Index: Source/web/WorkerPermissionClient.cpp |
diff --git a/Source/web/WorkerPermissionClient.cpp b/Source/web/WorkerPermissionClient.cpp |
index 60efa9a4b4f96f1f67a20bc312ebe825072c9e31..12584959979dc882c358ef6dab71542c2d8c841e 100644 |
--- a/Source/web/WorkerPermissionClient.cpp |
+++ b/Source/web/WorkerPermissionClient.cpp |
@@ -64,14 +64,21 @@ bool WorkerPermissionClient::allowFileSystem() |
return m_proxy->allowFileSystem(); |
} |
-void WorkerPermissionClient::requestFileSystemAccess(const WebPermissionCallbacks& callbacks) |
+bool WorkerPermissionClient::requestFileSystemAccessSync() |
+{ |
+ if (!m_proxy) |
+ return true; |
+ return m_proxy->requestFileSystemAccessSync(); |
+} |
+ |
+void WorkerPermissionClient::requestFileSystemAccessAsync(const WebPermissionCallbacks& callbacks) |
{ |
if (!m_proxy) { |
WebPermissionCallbacks permissionCallbacks(callbacks); |
permissionCallbacks.doAllow(); |
return; |
} |
- m_proxy->requestFileSystemAccess(callbacks); |
+ m_proxy->requestFileSystemAccessAsync(callbacks); |
} |
bool WorkerPermissionClient::allowIndexedDB(const WebString& name) |