summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/file_system/file_system_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/file_system/file_system_api.h')
-rw-r--r--chrome/browser/extensions/api/file_system/file_system_api.h6
1 files changed, 6 insertions, 0 deletions
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 2acf23a..7cc24db7 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -20,6 +20,12 @@ class FileSystemGetDisplayPathFunction : public SyncExtensionFunction {
};
class FileSystemPickerFunction : public AsyncExtensionFunction {
+ public:
+ // Allow picker UI to be skipped in testing.
+ static void SkipPickerAndAlwaysSelectPathForTest(FilePath* path);
+ static void SkipPickerAndAlwaysCancelForTest();
+ static void StopSkippingPickerForTest();
+
protected:
class FilePicker;