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

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

Issue 13023002: Change chrome.filesystem to handle the Chrome OS Drive file entries directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: COmment. Created 7 years, 9 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
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)

Powered by Google App Engine
This is Rietveld 408576698