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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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
OLDNEW
1 <p id="classSummary">
2 Use the <code>chrome.proxy</code> module to manage Chrome's
3 proxy settings. This module relies on the <a href="types.html#ChromeSetting">
4 ChromeSetting prototype of the type API</a> for getting and setting the proxy
5 configuration.
6 </p>
7
8 <h2 id="manifest">Manifest</h2> 1 <h2 id="manifest">Manifest</h2>
9 <p>You must declare the "proxy" permission 2 <p>You must declare the "proxy" permission
10 in the <a href="manifest.html">extension manifest</a> 3 in the <a href="manifest.html">extension manifest</a>
11 to use the proxy settings API. 4 to use the proxy settings API.
12 For example:</p> 5 For example:</p>
13 <pre>{ 6 <pre>{
14 "name": "My extension", 7 "name": "My extension",
15 ... 8 ...
16 <b>"permissions": [ 9 <b>"permissions": [
17 "proxy" 10 "proxy"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 {'incognito': false}, 223 {'incognito': false},
231 function(config) {console.log(JSON.stringify(config));}); 224 function(config) {console.log(JSON.stringify(config));});
232 </pre> 225 </pre>
233 226
234 <p> 227 <p>
235 Note that the <code>value</code> object passed to <code>set()</code> is not 228 Note that the <code>value</code> object passed to <code>set()</code> is not
236 identical to the <code>value</code> object passed to callback function of 229 identical to the <code>value</code> object passed to callback function of
237 <code>get()</code>. The latter will contain a 230 <code>get()</code>. The latter will contain a
238 <code>rules.proxyForHttp.port</code> element. 231 <code>rules.proxyForHttp.port</code> element.
239 </p> 232 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698