4 Copyright 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
9 <meta http-equiv=
"Pragma" content=
"no-cache">
10 <meta http-equiv=
"Expires" content=
"-1">
11 <title>{{title}}
</title>
12 <script type=
"text/javascript" src=
"common.js"></script>
13 <script type=
"text/javascript" src=
"example.js"></script>
16 border:
1px solid #
888;
17 border-collapse: collapse;
21 border-bottom:
1px solid #
888;
25 border-left:
1px solid #
888;
32 <h2>Status:
<code id=
"statusField">NO-STATUS
</code></h2>
33 <p>The network_monitor example demonstrates how to listen for changes to the
34 status of the network interfaces on this computer.
<br> This API is normally
35 only available to packaged apps with 'network-state' socket permission,
36 but can be enabled for debugging purposes using the
37 <code>--allow-nacl-socket-api=
<hostname
></code> command line
57 <pre id=
"log" style=
"font-weight: bold"></pre>
58 <div id=
"listener"></div>