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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.h

Issue 2877343003: Switch browser/extensions/api/file_system/file_system_api.[h|cc] to the TaskScheduler API (Closed)
Patch Set: Address Ben's comments. Created 3 years, 7 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/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/file_system/file_system_api.h
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.h b/chrome/browser/extensions/api/file_system/file_system_api.h
index 740c44706c185d021514b170b0a882f33a68cc4e..d66f93029b24287ea04590c756287def5c5bbf45 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -200,7 +200,7 @@ class FileSystemGetWritableEntryFunction : public FileSystemEntryFunction {
private:
void CheckPermissionAndSendResponse();
- void SetIsDirectoryOnFileThread();
+ void SetIsDirectoryAsync();
// The path to the file for which a writable entry has been requested.
base::FilePath path_;
@@ -272,10 +272,9 @@ class FileSystemChooseEntryFunction : public FileSystemEntryFunction {
// directory. Calls OnDirectoryAccessConfirmed if the directory isn't
// sensitive or the user chooses to open it. Otherwise, calls
// FileSelectionCanceled.
- void ConfirmDirectoryAccessOnFileThread(
- bool non_native_path,
- const std::vector<base::FilePath>& paths,
- content::WebContents* web_contents);
+ void ConfirmDirectoryAccessAsync(bool non_native_path,
+ const std::vector<base::FilePath>& paths,
+ content::WebContents* web_contents);
void OnDirectoryAccessConfirmed(const std::vector<base::FilePath>& paths);
base::FilePath initial_path_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698