Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: content/worker/webworkerclient_proxy.cc

Issue 7012007: Chrome side of having the WebKit FileSystem API use WebPermissionClient for checking if using fil... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/worker/webworkerclient_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/webworkerclient_proxy.cc
===================================================================
--- content/worker/webworkerclient_proxy.cc (revision 85048)
+++ content/worker/webworkerclient_proxy.cc (working copy)
@@ -149,12 +149,17 @@
if (origin.isEmpty())
return false;
- bool result;
- if (!Send(new WorkerProcessHostMsg_AllowDatabase(route_id_,
- GURL(origin.toString().utf8()), name, display_name, estimated_size,
- &result)))
- return false;
+ bool result = false;
+ Send(new WorkerProcessHostMsg_AllowDatabase(
+ route_id_, GURL(origin.toString().utf8()), name, display_name,
+ estimated_size, &result));
+ return result;
+}
+bool WebWorkerClientProxy::allowFileSystem() {
+ bool result = false;
+ Send(new WorkerProcessHostMsg_AllowFileSystem(
+ route_id_, stub_->url().GetOrigin(), &result));
return result;
}
« no previous file with comments | « content/worker/webworkerclient_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698