Chromium Code Reviews| Index: content/browser/shared_worker/shared_worker_service_impl.cc |
| diff --git a/content/browser/shared_worker/shared_worker_service_impl.cc b/content/browser/shared_worker/shared_worker_service_impl.cc |
| index 4a689fa812fe422e522ffe3193c8d6f5394b7e7f..7c2344f7c3bd4a272ac347fd1991eee2bea41fd7 100644 |
| --- a/content/browser/shared_worker/shared_worker_service_impl.cc |
| +++ b/content/browser/shared_worker/shared_worker_service_impl.cc |
| @@ -391,13 +391,13 @@ void SharedWorkerServiceImpl::AllowDatabase( |
| host->AllowDatabase(url, name, display_name, estimated_size, result); |
| } |
| -void SharedWorkerServiceImpl::AllowFileSystem( |
| +void SharedWorkerServiceImpl::RequestFileSystemAccessSync( |
| int worker_route_id, |
| const GURL& url, |
| - bool* result, |
| + IPC::Message* reply_msg, |
| SharedWorkerMessageFilter* filter) { |
| if (SharedWorkerHost* host = FindSharedWorkerHost(filter, worker_route_id)) |
| - host->AllowFileSystem(url, result); |
| + host->RequestFileSystemAccessSync(url, reply_msg); |
|
Andrew T Wilson (Slow)
2014/06/20 22:04:27
What happens to reply_msg if we can't find the sha
Xi Han
2014/06/23 20:43:34
Change the code to send the reply_msg directly if
|
| } |
| void SharedWorkerServiceImpl::AllowIndexedDB( |