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

Unified Diff: content/public/browser/devtools_frontend_host_delegate.h

Issue 11570081: Support file system access in DevTools with isolated file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added fs name / root url generation in browser process as recommended by kinuko@ and addressed tsep… Created 7 years, 11 months 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
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b0617d2a63920621aa37de03dfe7a28da9d41a30 100644
--- a/content/public/browser/devtools_frontend_host_delegate.h
+++ b/content/public/browser/devtools_frontend_host_delegate.h
@@ -42,6 +42,15 @@ class DevToolsFrontendHostDelegate {
virtual void AppendToFile(const std::string& url,
const std::string& content) = 0;
+ // Requests the list of filesystems previously added for devtools.
+ virtual void RequestFileSystems() = 0;
+
+ // Shows a dialog to select a folder to which an isolated filesystem is added.
+ virtual void AddFileSystem() = 0;
+
+ // Removes a previously added devtools filesystem given by |file_system_path|.
+ virtual void RemoveFileSystem(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;
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698