Index: chrome/browser/resources/file_manager/js/mock_chrome.js |
diff --git a/chrome/browser/resources/file_manager/js/mock_chrome.js b/chrome/browser/resources/file_manager/js/mock_chrome.js |
index df396ecae66710435124d2354410ba6ced4083cc..7941493d5305983ccabb9476fcc9fb0f053805e7 100644 |
--- a/chrome/browser/resources/file_manager/js/mock_chrome.js |
+++ b/chrome/browser/resources/file_manager/js/mock_chrome.js |
@@ -53,11 +53,6 @@ chrome.fileBrowserPrivate = { |
/** |
* Disk mount/unmount notification. |
*/ |
- onDiskChanged: { |
- callbacks: [], |
- addListener: function(cb) { this.callbacks.push(cb) } |
- }, |
- |
onMountCompleted: { |
callbacks: [], |
addListener: function(cb) { this.callbacks.push(cb) } |
@@ -190,6 +185,8 @@ chrome.fileBrowserPrivate = { |
} |
}, |
+ getSizeStats: function() {}, |
+ |
/** |
* Return localized strings. |
*/ |
@@ -235,6 +232,7 @@ chrome.fileBrowserPrivate = { |
UNMOUNT_ARCHIVE: 'Close archive', |
FORMAT_DEVICE: 'Format device', |
+ ENABLE_PHOTO_EDITOR: 'true', |
GALLERY: 'View and Edit', |
GALLERY_EDIT: 'Edit', |
GALLERY_SHARE: 'Share', |
@@ -352,13 +350,6 @@ chrome.fileBrowserPrivate = { |
} |
}; |
-chrome.fileBrowserHandler = { |
- onExecute: { |
- callbacks: [], |
- addListener: function(cb) { this.callbacks.push(cb) } |
- } |
-}; |
- |
chrome.extension = { |
getURL: function(path) { |
return path || document.location.href; |