Index: native_client_sdk/src/examples/api/vpn_provider/index.html |
diff --git a/native_client_sdk/src/examples/api/vpn_provider/index.html b/native_client_sdk/src/examples/api/vpn_provider/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..047369f11c398733a80a275d9325a49fd75a52d2 |
--- /dev/null |
+++ b/native_client_sdk/src/examples/api/vpn_provider/index.html |
@@ -0,0 +1,33 @@ |
+<!DOCTYPE html> |
+<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. |
+ --> |
+<head> |
+ <meta http-equiv="Pragma" content="no-cache"> |
+ <meta http-equiv="Expires" content="-1"> |
+ <title>{{title}}</title> |
+ <script type="text/javascript" src="common.js"></script> |
+ <script type="text/javascript" src="example.js"></script> |
+</head> |
+ |
+<body {{attrs}}> |
+ <h1>{{title}}</h1> |
+ <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> |
+ <h3>Test</h3> |
+ <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. |
+ |
+ </p> |
+ <div id="listener"></div> |
+ <div id="log" style="height: 400px; overflow-y: scroll;"></div> |
+</body> |
+</html> |