OLD | NEW |
1 <table class="intro"> | 1 <table class="intro"> |
2 <tr> | 2 <tr> |
3 <th scope="col"></th> | 3 <th scope="col"></th> |
4 <th scope="col"></th> | 4 <th scope="col"></th> |
5 </tr> | 5 </tr> |
6 <tr> | 6 <tr> |
7 <td><strong>Description:</strong></td> | |
8 <td>Use the <code>chrome.storage</code> module | |
9 to store, retrieve, and track changes to user data.</td> | |
10 </tr> | |
11 <tr> | |
12 <td><strong>Availability:</strong></td> | |
13 <td>Google Chrome 20</td> | |
14 </tr> | |
15 <tr> | |
16 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
17 <td><code>"storage"</code></td> | 8 <td><code>"storage"</code></td> |
18 </tr> | 9 </tr> |
19 <tr> | 10 <tr> |
20 <td><strong>Learn more:</strong></td> | 11 <td><strong>Learn more:</strong></td> |
21 <td><a href="https://developers.google.com/live/shows/7320022/">Chrome Apps
Office Hours: Chrome Storage APIs</a><br> | 12 <td><a href="https://developers.google.com/live/shows/7320022/">Chrome Apps
Office Hours: Chrome Storage APIs</a><br> |
22 <a href="https://developers.google.com/live/shows/7320022-1/">Chrome Apps Of
fice Hours: Storage API Deep Dive</a></td> | 13 <a href="https://developers.google.com/live/shows/7320022-1/">Chrome Apps Of
fice Hours: Storage API Deep Dive</a></td> |
23 </tr> | 14 </tr> |
24 </table> | 15 </table> |
25 | 16 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 var storageChange = changes[key]; | 144 var storageChange = changes[key]; |
154 console.log('Storage key "%s" in namespace "%s" changed. ' + | 145 console.log('Storage key "%s" in namespace "%s" changed. ' + |
155 'Old value was "%s", new value is "%s".', | 146 'Old value was "%s", new value is "%s".', |
156 key, | 147 key, |
157 namespace, | 148 namespace, |
158 storageChange.oldValue, | 149 storageChange.oldValue, |
159 storageChange.newValue); | 150 storageChange.newValue); |
160 } | 151 } |
161 }); | 152 }); |
162 </pre> | 153 </pre> |
OLD | NEW |