diff options
author | feldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:24:12 +0000 |
---|---|---|
committer | feldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:24:12 +0000 |
commit | 76e908db3da9be77c373f5da5bfda50fe4552e9a (patch) | |
tree | 837ec20d9b2518e795e1fe1385df6b58198db4d0 /chrome/common | |
parent | ef5a74baa839a9a826e37eea4f7750cd55758fc8 (diff) | |
download | chromium_src-76e908db3da9be77c373f5da5bfda50fe4552e9a.zip chromium_src-76e908db3da9be77c373f5da5bfda50fe4552e9a.tar.gz chromium_src-76e908db3da9be77c373f5da5bfda50fe4552e9a.tar.bz2 |
Fix description of onImportBegan to ensure people use it safely.
When observers listen to onImportBegan, they can only safely ignore handleCreated. handleDeleted, handleMoved, etc must still be handled immediately to avoid holding on to stale pointers.
Review URL: http://codereview.chromium.org/570017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 00ef4ce..4e7b78e 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -2054,7 +2054,7 @@ { "name": "onImportBegan", "type": "function", - "description": "Fired when a bookmark import session is begun. Expensive observers should ignore updates until onImportEnded is fired.", + "description": "Fired when a bookmark import session is begun. Expensive observers should ignore handleCreated updates until onImportEnded is fired. Observers should still handle other notifications immediately.", "parameters": [ {} ] |