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

Unified Diff: content/browser/shared_worker/shared_worker_host.h

Issue 338353007: Implementation of shared worker code path for WebView file system permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_sharedworker
Patch Set: rebase Created 6 years, 6 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: content/browser/shared_worker/shared_worker_host.h
diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h
index 53cc218669c7b387986bd33c8ce16eca12d5865c..ccaee359540a25935ba282d6834537e5fe1b0f81 100644
--- a/content/browser/shared_worker/shared_worker_host.h
+++ b/content/browser/shared_worker/shared_worker_host.h
@@ -64,7 +64,7 @@ class SharedWorkerHost {
const base::string16& display_name,
unsigned long estimated_size,
bool* result);
- void AllowFileSystem(const GURL& url, bool* result);
+ void RequestFileSystemAccessSync(const GURL& url, IPC::Message* reply_msg);
void AllowIndexedDB(const GURL& url,
const base::string16& name,
bool* result);
@@ -118,7 +118,8 @@ class SharedWorkerHost {
void SetMessagePortID(SharedWorkerMessageFilter* filter,
int route_id,
int message_port_id);
-
+ void RequestFileSystemAccessSyncResponse(IPC::Message* reply_msg,
+ bool allowed);
scoped_ptr<SharedWorkerInstance> instance_;
scoped_refptr<WorkerDocumentSet> worker_document_set_;
FilterList filters_;

Powered by Google App Engine
This is Rietveld 408576698