Index: chrome/browser/resources/file_manager/js/mock_chrome.js |
=================================================================== |
--- chrome/browser/resources/file_manager/js/mock_chrome.js (revision 110472) |
+++ chrome/browser/resources/file_manager/js/mock_chrome.js (working copy) |
@@ -59,6 +59,25 @@ |
}, |
/** |
+ * File/directory changed notification. |
Vladislav Kaznacheev
2011/11/22 13:16:35
I already added those yesterday:)
dgozman
2011/11/22 14:15:14
Done.
|
+ */ |
+ onFileChanged: { |
+ addListener: function(cb) {} |
+ }, |
+ |
+ /** |
+ * Add watch to file to get onFileChanged events. |
+ */ |
+ addFileWatch: function(url, callback) { |
+ }, |
+ |
+ /** |
+ * Remove watch from file. |
+ */ |
+ removeFileWatch: function(url, callback) { |
+ }, |
+ |
+ /** |
* Returns common tasks for a given list of files. |
*/ |
getFileTasks: function(urlList, callback) { |
@@ -203,6 +222,7 @@ |
ROOT_DIRECTORY_LABEL: 'Files', |
DOWNLOADS_DIRECTORY_LABEL: 'File Shelf', |
+ CHROMEBOOK_DIRECTORY_LABEL: 'Chromebook', |
DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. <a href='javascript://'>Learn More</a>", |
MEDIA_DIRECTORY_LABEL: 'External Storage', |
NAME_COLUMN_LABEL: 'Name', |