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

Unified Diff: content/renderer/devtools/devtools_client.cc

Issue 11570081: Support file system access in DevTools with isolated file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: content/renderer/devtools/devtools_client.cc
diff --git a/content/renderer/devtools/devtools_client.cc b/content/renderer/devtools/devtools_client.cc
index 09ec5063214426eed3462e335e2208e3081ea7e9..86b51be46807720f3135d2d7622aa47865c0fa2b 100644
--- a/content/renderer/devtools/devtools_client.cc
+++ b/content/renderer/devtools/devtools_client.cc
@@ -89,6 +89,22 @@ void DevToolsClient::append(const WebKit::WebString& url,
content.utf8()));
}
+void DevToolsClient::requestFileSystemPermissions() {
+ Send(new DevToolsHostMsg_RequestFileSystemPermissions(routing_id()));
+}
+
+void DevToolsClient::selectFolderAndGrantFileSystemPermission() {
+ Send(new DevToolsHostMsg_SelectFolderAndGrantFileSystemPermission(
+ routing_id()));
+}
+
+void DevToolsClient::revokeFileSystemPermission(
+ const WebString& fileSystemPath) {
+ Send(new DevToolsHostMsg_RevokeFileSystemPermission(routing_id(),
+ fileSystemPath.utf8()));
+}
+
+
void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) {
web_tools_frontend_->dispatchOnInspectorFrontend(
WebString::fromUTF8(message));
« content/common/devtools_messages.h ('K') | « content/renderer/devtools/devtools_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698