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

Unified Diff: chrome/browser/devtools/devtools_window.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 | « chrome/browser/devtools/devtools_file_helper.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_window.h
diff --git a/chrome/browser/devtools/devtools_window.h b/chrome/browser/devtools/devtools_window.h
index ef199b5fefcb1318a9c59871955ee7c6a518d26d..58a9b0b41822219b666285dab2d8b5de6936333e 100644
--- a/chrome/browser/devtools/devtools_window.h
+++ b/chrome/browser/devtools/devtools_window.h
@@ -142,7 +142,8 @@ class DevToolsWindow : private content::NotificationObserver,
void UpdateTheme();
void AddDevToolsExtensionsToClient();
void CallClientFunction(const std::string& function_name,
- const base::Value* arg);
+ const base::Value* arg1 = NULL,
+ const base::Value* arg2 = NULL);
// Overridden from content::WebContentsDelegate.
virtual content::WebContents* OpenURLFromTab(
content::WebContents* source,
@@ -182,10 +183,17 @@ class DevToolsWindow : private content::NotificationObserver,
bool save_as) OVERRIDE;
virtual void AppendToFile(const std::string& url,
const std::string& content) OVERRIDE;
+ virtual void RequestFileSystems() OVERRIDE;
+ virtual void AddFileSystem() OVERRIDE;
+ virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE;
// DevToolsFileHelper callbacks.
void FileSavedAs(const std::string& url);
void AppendedTo(const std::string& url);
+ void FileSystemsLoaded(
+ const std::vector<DevToolsFileHelper::FileSystem>& file_systems);
+ void FileSystemAdded(std::string error_string,
+ const DevToolsFileHelper::FileSystem& file_system);
void UpdateBrowserToolbar();
bool IsDocked();
« no previous file with comments | « chrome/browser/devtools/devtools_file_helper.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698