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

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: Pavel's comments addressed 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..65d0ef8403351b0c54f21f9e0db8aca662538f67 100644
--- a/content/renderer/devtools/devtools_client.cc
+++ b/content/renderer/devtools/devtools_client.cc
@@ -89,6 +89,20 @@ void DevToolsClient::append(const WebKit::WebString& url,
content.utf8()));
}
+void DevToolsClient::requestFilesystems() {
+ Send(new DevToolsHostMsg_RequestFilesystems(routing_id()));
+}
+
+void DevToolsClient::addFilesystem() {
+ Send(new DevToolsHostMsg_AddFilesystem(routing_id()));
+}
+
+void DevToolsClient::removeFilesystem(const WebString& fileSystemPath) {
+ Send(new DevToolsHostMsg_RemoveFilesystem(routing_id(),
+ fileSystemPath.utf8()));
+}
+
+
void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) {
web_tools_frontend_->dispatchOnInspectorFrontend(
WebString::fromUTF8(message));

Powered by Google App Engine
This is Rietveld 408576698