Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6065)

Unified Diff: chrome/common/extensions/docs/storage.html

Issue 9921003: Make the constants in the chrome.storage API actual powers of 2, and comma- (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/docs/js/api_page_generator.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/storage.html
diff --git a/chrome/common/extensions/docs/storage.html b/chrome/common/extensions/docs/storage.html
index 06995db5e5031009530370a894a5f8bebe3ecbef..5d7f6a69f1ba5b55658d9f6aaa3e3363811df3ca 100644
--- a/chrome/common/extensions/docs/storage.html
+++ b/chrome/common/extensions/docs/storage.html
@@ -427,7 +427,7 @@ You can find examples that use this API on the
<div style="display:inline">
(
<span id="typeTemplate">
- <code>102400</code>
+ <code>102,400</code>
</span>
)
</div>
@@ -448,7 +448,7 @@ You can find examples that use this API on the
<div style="display:inline">
(
<span id="typeTemplate">
- <code>2048</code>
+ <code>2,048</code>
</span>
)
</div>
@@ -524,13 +524,13 @@ You can find examples that use this API on the
<div style="display:inline">
(
<span id="typeTemplate">
- <code>5120000</code>
+ <code>5,242,880</code>
</span>
)
</div>
</em>
</dt>
- <dd>The maximum amount (in bytes) of data that can be stored in local storage. This value may be ignored if the extension has the <code>unlimitedStorage</code> permission.</dd>
+ <dd>The maximum amount (in bytes) of data that can be stored in local storage. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -763,7 +763,7 @@ You can find examples that use this API on the
</div>
</em>
</dt>
- <dd>Callback on success, or on failure (in which case lastError will be set).</dd>
+ <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -844,7 +844,7 @@ You can find examples that use this API on the
</div>
</em>
</dt>
- <dd>Callback with storage items, or on failure (in which case lastError will be set).</dd>
+ <dd>Callback with storage items, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -949,7 +949,7 @@ You can find examples that use this API on the
</div>
</em>
</dt>
- <dd>Callback with the amount of space being used by storage, or on failure (in which case lastError will be set).</dd>
+ <dd>Callback with the amount of space being used by storage, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1054,7 +1054,7 @@ You can find examples that use this API on the
</div>
</em>
</dt>
- <dd>Callback on success, or on failure (in which case lastError will be set).</dd>
+ <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1135,7 +1135,7 @@ You can find examples that use this API on the
</div>
</em>
</dt>
- <dd>Callback on success, or on failure (in which case lastError will be set).</dd>
+ <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
« no previous file with comments | « chrome/common/extensions/docs/js/api_page_generator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698