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

Unified Diff: chrome/browser/devtools/devtools_file_helper.h

Issue 2384343002: DevTools: improve DevTools file watcher to send added and removed paths (Closed)
Patch Set: honing skills. Created 4 years, 2 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 | « no previous file | chrome/browser/devtools/devtools_file_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_file_helper.h
diff --git a/chrome/browser/devtools/devtools_file_helper.h b/chrome/browser/devtools/devtools_file_helper.h
index 4e9d7799bb66bd043c66b936b15ffac850358c3d..e613d02595da5932da6b526534ec6bbe0b7f6a56 100644
--- a/chrome/browser/devtools/devtools_file_helper.h
+++ b/chrome/browser/devtools/devtools_file_helper.h
@@ -47,7 +47,10 @@ class DevToolsFileHelper {
virtual ~Delegate() {}
virtual void FileSystemAdded(const FileSystem& file_system) = 0;
virtual void FileSystemRemoved(const std::string& file_system_path) = 0;
- virtual void FilePathsChanged(const std::vector<std::string>& paths) = 0;
+ virtual void FilePathsChanged(
+ const std::vector<std::string>& changed_paths,
+ const std::vector<std::string>& added_paths,
+ const std::vector<std::string>& removed_paths) = 0;
};
DevToolsFileHelper(content::WebContents* web_contents, Profile* profile,
@@ -132,7 +135,9 @@ class DevToolsFileHelper {
const base::FilePath& path,
bool allowed);
void FileSystemPathsSettingChanged();
- void FilePathsChanged(const std::vector<std::string>& paths);
+ void FilePathsChanged(const std::vector<std::string>& changed_paths,
+ const std::vector<std::string>& added_paths,
+ const std::vector<std::string>& removed_paths);
content::WebContents* web_contents_;
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_file_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698