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

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

Issue 10663014: Add tests for chrome.fileSystem app API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using new Blob constructor Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ff0e486ec9defe0bec65890dc47514257dbc0573 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.
asargent_no_longer_on_chrome 2012/06/25 17:47:01 nit: It would be nice to have "ForTest" on these n
benwells 2012/06/25 19:07:21 Done.
+ static void SkipPickerAndAlwaysSelectPath(FilePath* path);
+ static void SkipPickerAndAlwaysCancel();
+ static void StopSkippingPicker();
+
protected:
class FilePicker;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698