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

Unified Diff: native_client_sdk/src/examples/api/vpn_provider/index.html

Issue 1731273002: ppapi: PPB_VpnProvider: Add a simple NaCl SDK example. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-ppapi
Patch Set: Respond to reviews. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698