Index: chrome/common/extensions/docs/extensions/experimental.serial.html |
diff --git a/chrome/common/extensions/docs/extensions/experimental.serial.html b/chrome/common/extensions/docs/extensions/experimental.serial.html |
index 5f68b9fbcb11216572a7c199b0e6ae7eafdfa72b..98be0f9c0012721c6e9cf37992d2ce236194d95e 100644 |
--- a/chrome/common/extensions/docs/extensions/experimental.serial.html |
+++ b/chrome/common/extensions/docs/extensions/experimental.serial.html |
@@ -984,7 +984,8 @@ |
<div class="summary"> |
<!-- Note: intentionally longer 80 columns --> |
<span>chrome.experimental.serial.read</span>(<span class="null"><span>integer</span> |
- <var><span>connectionId</span></var></span><span class="null"><span>, </span><span>function</span> |
+ <var><span>connectionId</span></var></span><span class="null"><span>, </span><span>integer</span> |
+ <var><span>bytesToRead</span></var></span><span class="null"><span>, </span><span>function</span> |
<var><span>ReadCallback</span></var></span>)</div> |
<div class="description"> |
<p>Reads a byte from the given connection.</p> |
@@ -1017,6 +1018,29 @@ |
</div><div> |
<div> |
<dt> |
+ <var>bytesToRead</var> |
+ <em> |
+ <!-- TYPE --> |
+ <div style="display:inline"> |
+ ( |
+ <span id="typeTemplate"> |
+ <span> |
+ <span>integer</span> |
+ </span> |
+ </span> |
+ ) |
+ </div> |
+ </em> |
+ </dt> |
+ <dd>The number of bytes to read.</dd> |
+ <!-- OBJECT PROPERTIES --> |
+ <!-- OBJECT METHODS --> |
+ <!-- OBJECT EVENT FIELDS --> |
+ <!-- FUNCTION PARAMETERS --> |
+ </div> |
+ </div><div> |
+ <div> |
+ <dt> |
<var>ReadCallback</var> |
<em> |
<!-- TYPE --> |
@@ -1608,7 +1632,7 @@ |
</div> |
</em> |
</dt> |
- <dd>The number of bytes received, or a negative number if an error occurred.</dd> |
+ <dd>The number of bytes received, or a negative number if an error occurred. This number will be smaller than the number of bytes requested in the original read call if the call would need to block to read that number of bytes.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |