OLD | NEW |
1 <div id="pageData-name" class="pageData">Storage</div> | |
2 | |
3 <!-- BEGIN AUTHORED CONTENT --> | |
4 <p id="classSummary"> | 1 <p id="classSummary"> |
5 Use the <code>chrome.storage</code> module | 2 Use the <code>chrome.storage</code> module |
6 to store, retrieve, and track changes to user data. | 3 to store, retrieve, and track changes to user data. |
7 This API has been optimized | 4 This API has been optimized |
8 to meet the specific storage needs of extensions. | 5 to meet the specific storage needs of extensions. |
9 It provides the same storage capabilities as the | 6 It provides the same storage capabilities as the |
10 <a href="https://developer.mozilla.org/en/DOM/Storage#localStorage">localStorage
API</a> | 7 <a href="https://developer.mozilla.org/en/DOM/Storage#localStorage">localStorage
API</a> |
11 with the following key differences: | 8 with the following key differences: |
12 </p> | 9 </p> |
13 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 namespace, | 129 namespace, |
133 storageChange.oldValue, | 130 storageChange.oldValue, |
134 storageChange.newValue); | 131 storageChange.newValue); |
135 } | 132 } |
136 }); | 133 }); |
137 </pre> | 134 </pre> |
138 | 135 |
139 <p> | 136 <p> |
140 You can find examples that use this API on the | 137 You can find examples that use this API on the |
141 <a href="samples.html#sty">Samples page</a>. | 138 <a href="samples.html#sty">Samples page</a>. |
142 </p> | 139 </p> |
143 | |
144 <!-- END AUTHORED CONTENT --> | |
OLD | NEW |