| Index: content/browser/worker_host/worker_process_host.cc
|
| diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
|
| index 1f9474d560302376617f9412092ed17a9202843f..81645f66732281828328e43019b12793bc435751 100644
|
| --- a/content/browser/worker_host/worker_process_host.cc
|
| +++ b/content/browser/worker_host/worker_process_host.cc
|
| @@ -386,7 +386,8 @@ bool WorkerProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerConnected,
|
| OnWorkerConnected)
|
| IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowDatabase, OnAllowDatabase)
|
| - IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowFileSystem, OnAllowFileSystem)
|
| + IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_RequestFileSystemAccessSync,
|
| + OnRequestFileSystemAccessSync)
|
| IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_AllowIndexedDB, OnAllowIndexedDB)
|
| IPC_MESSAGE_HANDLER(WorkerProcessHostMsg_ForceKillWorker,
|
| OnForceKillWorkerProcess)
|
| @@ -472,9 +473,9 @@ void WorkerProcessHost::OnAllowDatabase(int worker_route_id,
|
| GetRenderFrameIDsForWorker(worker_route_id));
|
| }
|
|
|
| -void WorkerProcessHost::OnAllowFileSystem(int worker_route_id,
|
| - const GURL& url,
|
| - bool* result) {
|
| +void WorkerProcessHost::OnRequestFileSystemAccessSync(int worker_route_id,
|
| + const GURL& url,
|
| + bool* result) {
|
| *result = GetContentClient()->browser()->AllowWorkerFileSystem(
|
| url, resource_context_, GetRenderFrameIDsForWorker(worker_route_id));
|
| }
|
|
|