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

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

Issue 656733002: Fix filesystem.retainEntry API to handle non-native directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 b2cb1add2961345eca714b20e9013e8753170565..0c011f307cdb1843123b42e5e51c32c9c9ea359b 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -185,7 +185,9 @@ class FileSystemRetainEntryFunction : public ChromeAsyncExtensionFunction {
// |entry_id| must refer to an entry in an isolated file system.
void RetainFileEntry(const std::string& entry_id);
- void SetIsDirectoryOnFileThread();
+ void SetIsDirectoryOnIOThread(const std::string& entry_id,
mtomasz 2014/10/14 06:08:50 nit: Please add a comment.
hirono 2014/10/14 09:22:10 I removed the method.
+ base::File::Error result,
+ const base::File::Info& file_info);
// Whether the file being retained is a directory.
bool is_directory_;

Powered by Google App Engine
This is Rietveld 408576698