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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/storage.html

Issue 947463002: Fix bad link in storage doc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ref. Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <h2 id="overview">Overview</h2> 1 <h2 id="overview">Overview</h2>
2 2
3 <p> 3 <p>
4 This API has been optimized 4 This API has been optimized
5 to meet the specific storage needs of extensions. 5 to meet the specific storage needs of extensions.
6 It provides the same storage capabilities as the 6 It provides the same storage capabilities as the
7 <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>
8 with the following key differences: 8 with the following key differences:
9 </p> 9 </p>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 when you put your message in, 84 when you put your message in,
85 it gets in line, 85 it gets in line,
86 and it's going to be delayed 86 and it's going to be delayed
87 by anyone that puts into that tube 87 by anyone that puts into that tube
88 enormous amounts of material. 88 enormous amounts of material.
89 89
90 <p>For details on the current limits 90 <p>For details on the current limits
91 of the storage API, and what happens 91 of the storage API, and what happens
92 when those limits are exceeded, please 92 when those limits are exceeded, please
93 see the quota information for 93 see the quota information for
94 <a href="#sync-properties">sync</a> and 94 $(ref:sync) and $(ref:local).
95 <a href="#local-properties">local</a>.
96 95
97 <h2 id="examples">Examples</h2> 96 <h2 id="examples">Examples</h2>
98 97
99 <p> 98 <p>
100 The following example checks for 99 The following example checks for
101 CSS code saved by a user on a form, 100 CSS code saved by a user on a form,
102 and if found, 101 and if found,
103 stores it. 102 stores it.
104 </p> 103 </p>
105 104
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 var storageChange = changes[key]; 136 var storageChange = changes[key];
138 console.log('Storage key "%s" in namespace "%s" changed. ' + 137 console.log('Storage key "%s" in namespace "%s" changed. ' +
139 'Old value was "%s", new value is "%s".', 138 'Old value was "%s", new value is "%s".',
140 key, 139 key,
141 namespace, 140 namespace,
142 storageChange.oldValue, 141 storageChange.oldValue,
143 storageChange.newValue); 142 storageChange.newValue);
144 } 143 }
145 }); 144 });
146 </pre> 145 </pre>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698