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

Unified Diff: chrome/common/render_messages.h

Issue 170733004: Avoid sync IPCs for FileSystem API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing early exit failure Created 6 years, 9 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/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index aef972780f45f16b67350ddce4eebf98663a7481..ba3c6e10fe2251942da73afd7fc6b9588bf2019e 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -368,6 +368,11 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent,
IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame)
+// Tells the renderer whether or not a file system access has been allowed.
+IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessResponse,
+ int /* request_id */,
+ bool /* allowed */)
+
// Sent when the profile changes the kSafeBrowsingEnabled preference.
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
bool /* enable_phishing_detection */)
@@ -491,6 +496,13 @@ IPC_SYNC_MESSAGE_CONTROL3_1(ChromeViewHostMsg_AllowFileSystem,
GURL /* top origin url */,
bool /* allowed */)
+// Sent by the renderer process to check whether access to FileSystem is
+// granted by content settings.
+IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_RequestFileSystemAccess,
+ int /* request_id */,
+ GURL /* origin_url */,
+ GURL /* top origin url */)
+
// Sent by the renderer process to check whether access to Indexed DBis
// granted by content settings.
IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB,

Powered by Google App Engine
This is Rietveld 408576698