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

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: 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.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 95a92fe262170676a1a7f2517af7c8715d633de0..46aba3e44e0b7481a96350df370a13be672c5687 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(
Andrew T Wilson (Slow) 2014/06/20 22:04:27 Why is this called ...AccessSync() - I'm assuming
Xi Han 2014/06/23 02:51:13 Sorry for the confusion. But this is a sync call,
jam 2014/06/23 07:02:00 What does this line mean? If there's a delay reply
Xi Han 2014/06/23 20:43:34 I see. Thank you for the explanation. All of 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