Index: chrome/browser/content_settings/tab_specific_content_settings.h |
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h |
index 063faa95fe36c2409d6d0d5dd24e9084cb363de0..18ac5fefd93e583724d85cfa6e9417b4f44b0604 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.h |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h |
@@ -159,6 +159,20 @@ class TabSpecificContentSettings |
const GURL& url, |
bool blocked_by_policy); |
+ // Called when a specific file system in the current page was accessed. |
+ // If access was blocked due to the user's content settings, |
+ // |blocked_by_policy| should be true, and this function should invoke |
+ // OnContentBlocked. |
+ // This function will call a callback function to send an asynchronized |
+ // message. |
+ static void FileSystemAccessedAsyn( |
+ int routing_id, |
+ int render_process_id, |
+ int render_frame_id, |
+ const GURL& url, |
+ bool blocked_by_policy, |
+ base::Callback<void(int, int, bool)> Callbacks); |
+ |
// Resets the |content_blocked_| and |content_allowed_| arrays, except for |
// CONTENT_SETTINGS_TYPE_COOKIES related information. |
void ClearBlockedContentSettingsExceptForCookies(); |