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 6e72a0f6ed19ac767fa2592fff5fc0813e207cbf..e8013b7ace26ffd0a86db7ffcc021c1e583f5978 100644 |
--- a/chrome/browser/extensions/api/file_system/file_system_api.h |
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h |
@@ -73,6 +73,11 @@ class FileSystemChooseEntryFunction : public FileSystemEntryFunction { |
static void SkipPickerAndAlwaysSelectPathForTest(base::FilePath* path); |
static void SkipPickerAndAlwaysCancelForTest(); |
static void StopSkippingPickerForTest(); |
+ // Call this with the directory for test file paths. On Chrome OS, accessed |
+ // path needs to be explicitly registered for smooth integration with Google |
+ // Drive support. |
+ static void RegisterTempExternalFileSystemForTest(const std::string& name, |
+ const base::FilePath& path); |
DECLARE_EXTENSION_FUNCTION("fileSystem.chooseEntry", FILESYSTEM_CHOOSEENTRY) |