| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
| 2 <p id="classSummary"> | 2 <p id="classSummary"> |
| 3 Use the <code>chrome.proxy</code> module to manage Chrome's | 3 Use the <code>chrome.proxy</code> module to manage Chrome's |
| 4 proxy settings. This module relies on the <a href="types.html#ChromeSetting"> | 4 proxy settings. This module relies on the <a href="types.html#ChromeSetting"> |
| 5 ChromeSetting prototype of the type API</a> for getting and setting the proxy | 5 ChromeSetting prototype of the type API</a> for getting and setting the proxy |
| 6 configuration. | 6 configuration. |
| 7 </p> | 7 </p> |
| 8 <h2 id="manifest">Manifest</h2> | 8 <h2 id="manifest">Manifest</h2> |
| 9 <p>You must declare the "proxy" permission | 9 <p>You must declare the "proxy" permission |
| 10 in the <a href="manifest.html">extension manifest</a> | 10 in the <a href="manifest.html">extension manifest</a> |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 {'incognito': false}, | 178 {'incognito': false}, |
| 179 function(config) {console.log(JSON.stringify(config));}); | 179 function(config) {console.log(JSON.stringify(config));}); |
| 180 </pre> | 180 </pre> |
| 181 <p> | 181 <p> |
| 182 Note that the <code>value</code> object passed to <code>set()</code> is not | 182 Note that the <code>value</code> object passed to <code>set()</code> is not |
| 183 identical to the <code>value</code> object passed to callback function of | 183 identical to the <code>value</code> object passed to callback function of |
| 184 <code>get()</code>. The latter will contain a | 184 <code>get()</code>. The latter will contain a |
| 185 <code>rules.proxyForHttp.port</code> element. | 185 <code>rules.proxyForHttp.port</code> element. |
| 186 </p> | 186 </p> |
| 187 <!-- END AUTHORED CONTENT --> | 187 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |