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

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

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: script/build.py fixes Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!-- BEGIN AUTHORED CONTENT -->
2 <p id="classSummary"> 1 <p id="classSummary">
3 Use the <code>chrome.proxy</code> module to manage Chrome's 2 Use the <code>chrome.proxy</code> module to manage Chrome's
4 proxy settings. This module relies on the <a href="types.html#ChromeSetting"> 3 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 4 ChromeSetting prototype of the type API</a> for getting and setting the proxy
6 configuration. 5 configuration.
7 </p> 6 </p>
8 <h2 id="manifest">Manifest</h2> 7 <h2 id="manifest">Manifest</h2>
9 <p>You must declare the "proxy" permission 8 <p>You must declare the "proxy" permission
10 in the <a href="manifest.html">extension manifest</a> 9 in the <a href="manifest.html">extension manifest</a>
11 to use the proxy settings API. 10 to use the proxy settings API.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 <pre> 175 <pre>
177 chrome.proxy.settings.get( 176 chrome.proxy.settings.get(
178 {'incognito': false}, 177 {'incognito': false},
179 function(config) {console.log(JSON.stringify(config));}); 178 function(config) {console.log(JSON.stringify(config));});
180 </pre> 179 </pre>
181 <p> 180 <p>
182 Note that the <code>value</code> object passed to <code>set()</code> is not 181 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 182 identical to the <code>value</code> object passed to callback function of
184 <code>get()</code>. The latter will contain a 183 <code>get()</code>. The latter will contain a
185 <code>rules.proxyForHttp.port</code> element. 184 <code>rules.proxyForHttp.port</code> element.
186 </p> 185 </p>
187 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698