diff options
Diffstat (limited to 'chrome/common/extensions/docs/test.html')
-rw-r--r-- | chrome/common/extensions/docs/test.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/test.html b/chrome/common/extensions/docs/test.html index 2c80d57..97d22ae 100644 --- a/chrome/common/extensions/docs/test.html +++ b/chrome/common/extensions/docs/test.html @@ -224,6 +224,8 @@ <a href="#method-notifyFail">notifyFail</a> </li><li> <a href="#method-notifyPass">notifyPass</a> + </li><li> + <a href="#method-resetQuota">resetQuota</a> </li> </ol> </li> @@ -573,6 +575,59 @@ </div> <!-- /description --> + </div><div class="apiItem"> + <a name="method-resetQuota"></a> <!-- method-anchor --> + <h4>resetQuota</h4> + + <div class="summary"><span style="display: none; ">void</span> + <!-- Note: intentionally longer 80 columns --> + <span>chrome.test.resetQuota</span>(<span style="display: none; "><span>, </span><span></span> + <var><span></span></var></span>)</div> + + <div class="description"> + <p class="todo" style="display: none; ">Undocumented.</p> + <p>Reset all accumulated quota state for all extensions. This is only used for internal unit testing.</p> + + <!-- PARAMETERS --> + <h4>Parameters</h4> + <dl> + <div style="display: none; "> + <div> + </div> + </div> + </dl> + + <!-- RETURNS --> + <h4 style="display: none; ">Returns</h4> + <dl> + <div style="display: none; "> + <div> + </div> + </div> + </dl> + + <!-- CALLBACK --> + <div style="display: none; "> + <div> + <h4>Callback function</h4> + <p> + If you specify the <em>callback</em> parameter, + it should specify a function that looks like this: + </p> + + <!-- Note: intentionally longer 80 columns --> + <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>);</pre> + <dl> + <div> + <div> + </div> + </div> + </dl> + </div> + </div> + + </div> <!-- /description --> + </div> <!-- /apiItem --> </div> <!-- /apiGroup --> |