| Index: chrome/common/extensions/api/document_scan.idl
|
| diff --git a/chrome/common/extensions/api/document_scan.idl b/chrome/common/extensions/api/document_scan.idl
|
| index 0428d4a10b0481ad0d84cb853dcf50aef0d76576..97baa91c0efa65a1d4ae5f57668cdb5c0f74f85f 100644
|
| --- a/chrome/common/extensions/api/document_scan.idl
|
| +++ b/chrome/common/extensions/api/document_scan.idl
|
| @@ -18,18 +18,19 @@ namespace documentScan {
|
| // an image tag.
|
| DOMString[] dataUrls;
|
|
|
| - // The MIME type of |dataUrls|.
|
| + // The MIME type of <code>dataUrls</code>.
|
| DOMString mimeType;
|
| };
|
|
|
| - // Callback from the <code>scan</code> method; on success
|
| - // the results from the scan is returned in |results|.
|
| - callback ScanCallback = void (ScanResults results);
|
| + // Callback from the <code>scan</code> method.
|
| + // |result| The results from the scan, if successful.
|
| + // Otherwise will return null and set runtime.lastError.
|
| + callback ScanCallback = void (ScanResults result);
|
|
|
| interface Functions {
|
| // Performs a document scan. On success, the PNG data will be
|
| // sent to the callback.
|
| - // |options| : <code>Options</code> object containing scan parameters.
|
| + // |options| : Object containing scan parameters.
|
| // |callback| : Called with the result and data from the scan.
|
| static void scan(ScanOptions options, ScanCallback callback);
|
| };
|
|
|