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

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: Async File System permission Created 6 years, 10 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..f1050ab4a5283235d6735170f87687d5fa5b3c87 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_RequestFileSystemAccess_ACK,
kinuko 2014/03/05 08:35:44 nit: ACK? Since this looks more than just ack mayb
Fady Samuel 2014/03/06 18:38:25 Done.
+ 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