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

Unified Diff: content/public/browser/content_browser_client.cc

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/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index e8da55e8aff9564e9d0bc38b019db8b253085113..cd1ad789e81a58c7ca2384ef14479349c4a0fc83 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -149,11 +149,12 @@ bool ContentBrowserClient::AllowWorkerDatabase(
return true;
}
-bool ContentBrowserClient::AllowWorkerFileSystem(
+void ContentBrowserClient::RequestWorkerFileSystemAccessSync(
const GURL& url,
ResourceContext* context,
- const std::vector<std::pair<int, int> >& render_frames) {
- return true;
+ const std::vector<std::pair<int, int> >& render_frames,
+ base::Callback<void(bool)> callback) {
+ callback.Run(true);
}
bool ContentBrowserClient::AllowWorkerIndexedDB(

Powered by Google App Engine
This is Rietveld 408576698