OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | |
2 <p id="classSummary"> | 1 <p id="classSummary"> |
3 Use the <code>chrome.browsingData</code> module to remove browsing data from a | 2 Use the <code>chrome.browsingData</code> module to remove browsing data from a |
4 user's local profile. | 3 user's local profile. |
5 </p> | 4 </p> |
6 <h2 id="manifest">Manifest</h2> | 5 <h2 id="manifest">Manifest</h2> |
7 <p> | 6 <p> |
8 You must declare the "browsingData" permission in the | 7 You must declare the "browsingData" permission in the |
9 <a href="manifest.html">extension manifest</a> to use this API. | 8 <a href="manifest.html">extension manifest</a> to use this API. |
10 </p> | 9 </p> |
11 <pre>{ | 10 <pre>{ |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 <p class="caution"> | 130 <p class="caution"> |
132 <strong>Seriously</strong>: Be careful with <code>protectedWeb</code> and | 131 <strong>Seriously</strong>: Be careful with <code>protectedWeb</code> and |
133 <code>extension</code>. These are destructive operations that your users | 132 <code>extension</code>. These are destructive operations that your users |
134 will write angry email about if they're not well-informed about what to | 133 will write angry email about if they're not well-informed about what to |
135 expect when your extension removes data on their behalf. | 134 expect when your extension removes data on their behalf. |
136 </p> | 135 </p> |
137 <h2 id="samples">Examples</h2> | 136 <h2 id="samples">Examples</h2> |
138 <p> | 137 <p> |
139 Samples for the <code>browsingData</code> API are available | 138 Samples for the <code>browsingData</code> API are available |
140 <a href="http://code.google.com/chrome/extensions/trunk/samples.html#chrome.br
owsingData">on the samples page</a>. | 139 <a href="http://code.google.com/chrome/extensions/trunk/samples.html#chrome.br
owsingData">on the samples page</a>. |
141 </p> | 140 </p> |
142 <!-- END AUTHORED CONTENT --> | |
OLD | NEW |