Index: content/worker/shared_worker_permission_client_proxy.cc |
diff --git a/content/worker/shared_worker_permission_client_proxy.cc b/content/worker/shared_worker_permission_client_proxy.cc |
index eb187c252de08c6001ce40ba3a47e8c41839c4db..88b9205444ae5fabc42f5e2dde298c1a2d59c8be 100644 |
--- a/content/worker/shared_worker_permission_client_proxy.cc |
+++ b/content/worker/shared_worker_permission_client_proxy.cc |
@@ -42,7 +42,18 @@ bool SharedWorkerPermissionClientProxy::allowFileSystem() { |
if (is_unique_origin_) |
return false; |
bool result = false; |
- thread_safe_sender_->Send(new WorkerProcessHostMsg_AllowFileSystem( |
+ thread_safe_sender_->Send( |
+ new WorkerProcessHostMsg_RequestFileSystemAccessSync( |
+ routing_id_, origin_url_, &result)); |
+ return result; |
+} |
+ |
+bool SharedWorkerPermissionClientProxy::requestFileSystemAccessSync() { |
+ if (is_unique_origin_) |
+ return false; |
+ bool result = false; |
+ thread_safe_sender_->Send( |
+ new WorkerProcessHostMsg_RequestFileSystemAccessSync( |
routing_id_, origin_url_, &result)); |
return result; |
} |