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

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: Initial patch 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 d29b30ee2e539c58c5e1f731d13ee1ddde766533..7e1c1b4d1e4e00b66c7e353a2a7e1c437dc55dab 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 RequestWorkerFileSystemAccessSync(
jam 2014/06/19 16:47:27 I'm confused, this has a Sync suffix but takes a c
Fady Samuel 2014/06/19 16:50:11 This is for the sync filesystem API. For webview's
Xi Han 2014/06/19 17:22:27 The name comes from the webview guest, whether the
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