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

Side by Side Diff: components/onc/docs/onc_spec.html

Issue 260083007: Replace chrome://network implementation with networkConfig API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 6 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <link rel="stylesheet" href="onc_spec.css" > 5 <link rel="stylesheet" href="onc_spec.css" >
6 <script src="onc_spec.js"></script> 6 <script src="onc_spec.js"></script>
7 <title>Open Network Configuration Format</title> 7 <title>Open Network Configuration Format</title>
8 </head> 8 </head>
9 <body> 9 <body>
10 10
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 <span class="type">string</span> 344 <span class="type">string</span>
345 </span> 345 </span>
346 <span class="rule"> 346 <span class="rule">
347 <span class="rule_id"></span> 347 <span class="rule_id"></span>
348 Allowed values are <span class="value">Cellular</span>, 348 Allowed values are <span class="value">Cellular</span>,
349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>, 349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>,
350 and <span class="value">VPN</span>. 350 and <span class="value">VPN</span>.
351 </span> 351 </span>
352 Indicates which kind of connection this is. 352 Indicates which kind of connection this is.
353 </dd> 353 </dd>
354
355 <dt class="field">ConnectionState</dt>
356 <dd>
357 <span class="field_meta">
358 (optional, read-only)
359 <span class="type">string</span>
360 </span>
361 The current connection state for this network, provided by the system.
362 <span class="rule">
363 <span class="rule_id"></span>
364 Allowed values are:
365 <span class="value">Connected</span>,
366 <span class="value">Connecting</span>,
367 <span class="value">NotConnected</span>
368 </span>
369 </dd>
370
371 <dt class="field">Connectable</dt>
372 <dd>
373 <span class="field_meta">
374 (optional, read-only)
375 <span class="type">boolean</span>
376 </span>
377 True if the system indicates that the network is configured and
378 connectable.
379 </dd>
380
381 <dt class="field">ErrorState</dt>
382 <dd>
383 <span class="field_meta">
384 (optional, read-only)
385 <span class="type">string</span>
386 </span>
387 The current error state for this network. Error states are provided by
388 the system and are not explicitly defined here. They may or may not be
389 human-readable. This field will be empty or absent if the network is not
390 in an error state.
391 </dd>
392
354 </dl> 393 </dl>
355 394
356 <section> 395 <section>
357 <h1>Ethernet networks</h1> 396 <h1>Ethernet networks</h1>
358 <p> 397 <p>
359 For Ethernet connections, <span class="field">Type</span> must be set to 398 For Ethernet connections, <span class="field">Type</span> must be set to
360 <span class="value">Ethernet</span> and the 399 <span class="value">Ethernet</span> and the
361 field <span class="field">Ethernet</span> must be set to an object of 400 field <span class="field">Ethernet</span> must be set to an object of
362 type <span class="type">Ethernet</span> containing the following fields: 401 type <span class="type">Ethernet</span> containing the following fields:
363 </p> 402 </p>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 </dd> 585 </dd>
547 586
548 <dt class="field">SSID</dt> 587 <dt class="field">SSID</dt>
549 <dd> 588 <dd>
550 <span class="field_meta"> 589 <span class="field_meta">
551 (required) 590 (required)
552 <span class="type">string</span> 591 <span class="type">string</span>
553 </span> 592 </span>
554 SSID of the network. 593 SSID of the network.
555 </dd> 594 </dd>
595
596 <dt class="field">SignalStrength</dt>
597 <dd>
598 <span class="field_meta">
599 (optional, read-only)
600 <span class="type">integer</span>
601 </span>
602 The current signal strength for this network in the range [0, 100],
603 provided by the system. If the network is not in range this field will
604 be set to '0' or not present.
605 </dd>
556 </dl> 606 </dl>
557 </section> 607 </section>
558 608
559 <section> 609 <section>
560 <h1>VPN networks</h1> 610 <h1>VPN networks</h1>
561 <p> 611 <p>
562 There are many kinds of VPNs with widely varying configuration options. We 612 There are many kinds of VPNs with widely varying configuration options. We
563 offer standard configuration options for a few common configurations at this 613 offer standard configuration options for a few common configurations at this
564 time, and may add more later. For all others, implementation specific fields 614 time, and may add more later. For all others, implementation specific fields
565 should be used. 615 should be used.
(...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after
2235 is transmitted or saved to disk should be secure. On client device, when 2285 is transmitted or saved to disk should be secure. On client device, when
2236 user names for connections that are user-specific are persisted to disk, 2286 user names for connections that are user-specific are persisted to disk,
2237 they should be stored in a location that is encrypted. Users can also opt in 2287 they should be stored in a location that is encrypted. Users can also opt in
2238 these cases to not save their user credentials in the config file and will 2288 these cases to not save their user credentials in the config file and will
2239 instead be prompted when they are needed. 2289 instead be prompted when they are needed.
2240 </p> 2290 </p>
2241 </section> 2291 </section>
2242 </section> 2292 </section>
2243 </body> 2293 </body>
2244 </html> 2294 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698