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

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: 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.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 3305e5f423f706193eb74867467d01cc4c4d1628..25397825f15958c09c6b3c025e257e34b866a0e2 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