diff options
author | rogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-08 15:55:16 +0000 |
---|---|---|
committer | rogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-08 15:55:16 +0000 |
commit | 1d33712b9d0ef178d05378bd5877b0f6241b5f6e (patch) | |
tree | b5757128b313035060ffdf170f27d49e39eb6ae2 /chrome/common | |
parent | ba00b49d134df5d468ddd62d21ab33d7401b59fa (diff) | |
download | chromium_src-1d33712b9d0ef178d05378bd5877b0f6241b5f6e.zip chromium_src-1d33712b9d0ef178d05378bd5877b0f6241b5f6e.tar.gz chromium_src-1d33712b9d0ef178d05378bd5877b0f6241b5f6e.tar.bz2 |
Don't use the return value of rlz_lib::SendFinancialPing() as the return value
of the chrome extension API, since a false does not represent an error. Added
an optional callback to the API so that caller can determine if the ping was
sent or not.
BUG=54294
TEST=n/a
Review URL: http://codereview.chromium.org/3358012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/api/extension_api.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 0ca4808..1336ff0 100644 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -3141,7 +3141,8 @@ {"name": "brand", "type": "string"}, {"name": "id", "type": "string"}, {"name": "lang", "type": "string"}, - {"name": "exclude_machine_id", "type": "boolean"} + {"name": "exclude_machine_id", "type": "boolean"}, + {"name": "callback", "type": "function", "optional": true, "parameters": [{"name": "sent", "type": "boolean"}]} ] }, { |