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 2acf23a4f1050edf8f01ba4eeee3f0743d278e1f..7cc24db7f8d92adf6318a3fd16797a4946aa0648 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; |