Index: content/public/browser/devtools_frontend_host_delegate.h |
diff --git a/content/public/browser/devtools_frontend_host_delegate.h b/content/public/browser/devtools_frontend_host_delegate.h |
index 79d3d9f6d8cf7ddf5bc137d82d361dc1d5ef200e..4ce9edd024888503750e90675224a9427b5a60fa 100644 |
--- a/content/public/browser/devtools_frontend_host_delegate.h |
+++ b/content/public/browser/devtools_frontend_host_delegate.h |
@@ -42,6 +42,18 @@ class DevToolsFrontendHostDelegate { |
virtual void AppendToFile(const std::string& url, |
const std::string& content) = 0; |
+ // Requests the list of file system pathes where devtools was granted access. |
+ virtual void RequestFileSystemPermissions() = 0; |
+ |
+ // Shows select folder dialog and grants devtools file system access |
+ // permissions to selected folder. |
+ virtual void SelectFolderAndGrantFileSystemPermission() = 0; |
+ |
+ // Revokes devtools file system access permissions by given |
+ // |file_system_path|. |
+ virtual void RevokeFileSystemPermission( |
+ const std::string& file_system_path) = 0; |
+ |
// This method is called when the contents inspected by this devtools frontend |
// is closing. |
virtual void InspectedContentsClosing() = 0; |