| Index: content/worker/webworkerclient_proxy.cc
|
| ===================================================================
|
| --- content/worker/webworkerclient_proxy.cc (revision 85048)
|
| +++ content/worker/webworkerclient_proxy.cc (working copy)
|
| @@ -149,12 +149,21 @@
|
| if (origin.isEmpty())
|
| return false;
|
|
|
| - bool result;
|
| - if (!Send(new WorkerProcessHostMsg_AllowDatabase(route_id_,
|
| - GURL(origin.toString().utf8()), name, display_name, estimated_size,
|
| - &result)))
|
| + bool result = false;
|
| + Send(new WorkerProcessHostMsg_AllowDatabase(
|
| + route_id_, GURL(origin.toString().utf8()), name, display_name,
|
| + estimated_size, &result));
|
| + return result;
|
| +}
|
| +
|
| +bool WebWorkerClientProxy::allowFileSystem(WebFrame* frame) {
|
| + WebSecurityOrigin origin = frame->securityOrigin();
|
| + if (origin.isEmpty())
|
| return false;
|
|
|
| + bool result = false;
|
| + Send(new WorkerProcessHostMsg_AllowFileSystem(
|
| + route_id_, GURL(origin.toString().utf8()), &result));
|
| return result;
|
| }
|
|
|
|
|