| Index: content/browser/devtools/devtools_frontend_host.cc
|
| diff --git a/content/browser/devtools/devtools_frontend_host.cc b/content/browser/devtools/devtools_frontend_host.cc
|
| index f16dcdfd1346a9a68a7f7dd11cd021d5098d0e3d..7a4ec7a080cc8112c77c01fb5b5c227cc8b9c2e5 100644
|
| --- a/content/browser/devtools/devtools_frontend_host.cc
|
| +++ b/content/browser/devtools/devtools_frontend_host.cc
|
| @@ -70,6 +70,13 @@ bool DevToolsFrontendHost::OnMessageReceived(
|
| IPC_MESSAGE_HANDLER(DevToolsHostMsg_OpenInNewTab, OnOpenInNewTab)
|
| IPC_MESSAGE_HANDLER(DevToolsHostMsg_Save, OnSave)
|
| IPC_MESSAGE_HANDLER(DevToolsHostMsg_Append, OnAppend)
|
| + IPC_MESSAGE_HANDLER(DevToolsHostMsg_RequestFileSystemPermissions,
|
| + OnRequestFileSystemPermissions)
|
| + IPC_MESSAGE_HANDLER(
|
| + DevToolsHostMsg_SelectFolderAndGrantFileSystemPermission,
|
| + OnSelectFolderAndGrantFileSystemPermission)
|
| + IPC_MESSAGE_HANDLER(DevToolsHostMsg_RevokeFileSystemPermission,
|
| + OnRevokeFileSystemPermission)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -110,6 +117,19 @@ void DevToolsFrontendHost::OnAppend(
|
| delegate_->AppendToFile(url, content);
|
| }
|
|
|
| +void DevToolsFrontendHost::OnRequestFileSystemPermissions() {
|
| + delegate_->RequestFileSystemPermissions();
|
| +}
|
| +
|
| +void DevToolsFrontendHost::OnSelectFolderAndGrantFileSystemPermission() {
|
| + delegate_->SelectFolderAndGrantFileSystemPermission();
|
| +}
|
| +
|
| +void DevToolsFrontendHost::OnRevokeFileSystemPermission(
|
| + const std::string& file_system_path) {
|
| + delegate_->RevokeFileSystemPermission(file_system_path);
|
| +}
|
| +
|
| void DevToolsFrontendHost::OnRequestSetDockSide(const std::string& side) {
|
| delegate_->SetDockSide(side);
|
| }
|
|
|