blob: 047369f11c398733a80a275d9325a49fd75a52d2 [file] [log] [blame]
<!DOCTYPE html>
Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
<body {{attrs}}>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
<p>The VpnProvider example demonstrates how to use the VpnProvider API.<br/>
<i>This NaCl SDK example can only be used as an extension on Chrome OS.</i>
<br/>See the README file for detailed information on build and deploy.
<p>After loading the extension to a Chromebook, open the 'VPN Provider' app.
<br/>Wait for the connection to be created.<br/> From the network
configuration menu select the 'Mock configuration' entry. <br/>
Observe the connection setup flow below.
<div id="listener"></div>
<div id="log" style="height: 400px; overflow-y: scroll;"></div>