summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 03:43:31 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 03:43:31 +0000
commiteed367e599de30aecdd97683e5dafd9c81f1706d (patch)
tree88066ba7eba99444ccafd12f0f8e6a80d918ed15 /chrome/common
parentbbc9196df15b084e52332a6be5819c669bf8f405 (diff)
downloadchromium_src-eed367e599de30aecdd97683e5dafd9c81f1706d.zip
chromium_src-eed367e599de30aecdd97683e5dafd9c81f1706d.tar.gz
chromium_src-eed367e599de30aecdd97683e5dafd9c81f1706d.tar.bz2
Added mount change notification event to extension API:
chrome.fileBrowserPrivate.onChanged.addListener(function(mountDirUrl) { ... }); BUG=chromium-os:13025 TEST=none Review URL: http://codereview.chromium.org/6749024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/api/extension_api.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index de69542..5556731d 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -4586,6 +4586,20 @@
}
]
}
+ ],
+ "events": [
+ {
+ "name": "onDiskChanged",
+ "type": "function",
+ "description": "Fired when disk mount/unmount event is detected.",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "fullPath",
+ "description": "Path of the filesystem directory entry that changed."
+ }
+ ]
+ }
]
},
{