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

Unified Diff: content/public/browser/content_browser_client.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: Rename + changes are made. 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 95a92fe262170676a1a7f2517af7c8715d633de0..c2abeb6ea56f8222d7fc280907a0929a64a42373 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -345,10 +345,11 @@ class CONTENT_EXPORT ContentBrowserClient {
// Allow the embedder to control if access to file system by a shared worker
// is allowed.
// This is called on the IO thread.
- virtual bool AllowWorkerFileSystem(
+ virtual void RequestWorkerFileSystemAccess(
const GURL& url,
ResourceContext* context,
- const std::vector<std::pair<int, int> >& render_frames);
+ const std::vector<std::pair<int, int> >& render_frames,
+ base::Callback<void(bool)> callback);
// Allow the embedder to control if access to IndexedDB by a shared worker
// is allowed.

Powered by Google App Engine
This is Rietveld 408576698