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

Unified Diff: chrome/browser/guest_view/web_view/web_view_guest.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: chrome/browser/guest_view/web_view/web_view_guest.h
diff --git a/chrome/browser/guest_view/web_view/web_view_guest.h b/chrome/browser/guest_view/web_view/web_view_guest.h
index 32defb5c87197e7ad491a23e44485151e5cb52e2..64517b2845954075ed6352547ea637ac38fa6014 100644
--- a/chrome/browser/guest_view/web_view/web_view_guest.h
+++ b/chrome/browser/guest_view/web_view/web_view_guest.h
@@ -274,7 +274,7 @@ class WebViewGuest : public GuestView<WebViewGuest>,
int render_frame_id,
const GURL& url,
bool blocked_by_policy,
- IPC::Message* reply_msg);
+ base::Callback<void(bool)> callback);
private:
virtual ~WebViewGuest();
@@ -336,11 +336,12 @@ class WebViewGuest : public GuestView<WebViewGuest>,
const GURL& url,
bool allowed);
- static void FileSystemAccessedSyncResponse(int render_process_id,
- int render_frame_id,
- const GURL& url,
- IPC::Message* reply_msg,
- bool allowed);
+ static void FileSystemAccessedSyncResponse(
+ int render_process_id,
+ int render_frame_id,
+ const GURL& url,
+ base::Callback<void(bool)> callback,
+ bool allowed);
// WebContentsObserver implementation.
virtual void DidCommitProvisionalLoadForFrame(

Powered by Google App Engine
This is Rietveld 408576698