diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:23:18 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-25 21:23:18 +0000 |
commit | 598613508bdb78c7718af4aae4a130c4c91a5aea (patch) | |
tree | e713d024d609644d8849b6e910aaa6122960ac8b /chrome/browser/extensions/api/file_system/file_system_api.h | |
parent | baece6c35f0d752f7793f2d6c519cd567dc4240a (diff) | |
download | chromium_src-598613508bdb78c7718af4aae4a130c4c91a5aea.zip chromium_src-598613508bdb78c7718af4aae4a130c4c91a5aea.tar.gz chromium_src-598613508bdb78c7718af4aae4a130c4c91a5aea.tar.bz2 |
Add tests for chrome.fileSystem app API.
BUG=132945
TEST=No testing required; automated tests added.
Review URL: https://chromiumcodereview.appspot.com/10663014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144017 0039d316-1c4b-4281-b951-d872f2087c98
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.h | 6 |
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; |