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

Unified Diff: chrome/renderer/worker_permission_client_proxy.cc

Issue 290573010: Clean up in browser side of allowFileSystem. [chromium] (4/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@asyn_codereview
Patch Set: rebase Created 6 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
Index: chrome/renderer/worker_permission_client_proxy.cc
diff --git a/chrome/renderer/worker_permission_client_proxy.cc b/chrome/renderer/worker_permission_client_proxy.cc
index 46311668c8400bfbf82f6c6e93e70ef079143aef..983181cce709655b427d0fdc02e932024e60d917 100644
--- a/chrome/renderer/worker_permission_client_proxy.cc
+++ b/chrome/renderer/worker_permission_client_proxy.cc
@@ -42,16 +42,6 @@ bool WorkerPermissionClientProxy::allowDatabase(
return result;
}
-bool WorkerPermissionClientProxy::allowFileSystem() {
- if (is_unique_origin_)
- return false;
-
- bool result = false;
- sync_message_filter_->Send(new ChromeViewHostMsg_RequestFileSystemAccessSync(
- routing_id_, document_origin_url_, top_frame_origin_url_, &result));
- return result;
-}
-
bool WorkerPermissionClientProxy::requestFileSystemAccessSync() {
if (is_unique_origin_)
return false;
« no previous file with comments | « chrome/renderer/worker_permission_client_proxy.h ('k') | content/worker/shared_worker_permission_client_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698