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

Unified Diff: native_client_sdk/src/examples/demo/nacl_io_demo/index.html

Issue 2156503002: [NaCl SDK] Expose Google Drive to nacl_io. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/demo/nacl_io_demo/index.html
diff --git a/native_client_sdk/src/examples/demo/nacl_io_demo/index.html b/native_client_sdk/src/examples/demo/nacl_io_demo/index.html
index bf9d7ea30dc9de448f580398fa05025d1410adfd..bdc6c51f2699d1fd939e109cc72714a8069a2550 100644
--- a/native_client_sdk/src/examples/demo/nacl_io_demo/index.html
+++ b/native_client_sdk/src/examples/demo/nacl_io_demo/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<!--
-Copyright (c) 2012 The Chromium Authors. All rights reserved.
+Copyright (c) 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.
-->
@@ -25,7 +25,7 @@ found in the LICENSE file.
directories, the mount determines how those operations should be performed.
</p>
<p>
- This example has four mounts by default.
+ This example has five mounts by default.
<ol>
<li><i>/</i> the root of the filesystem. This is a memory mount, and
is non-persistent.</li>
@@ -35,6 +35,8 @@ found in the LICENSE file.
/http/index.html.</li>
<li><i>/dev</i> a mount containing some utility files. /dev/null,
/dev/zero, etc.</li>
+ <li><i>/googledrive</i> a Google Drive mount.
+ </li>
</ol>
</p>
<p>
@@ -43,6 +45,11 @@ found in the LICENSE file.
API, an app must be a packaged app with the appropriate socket permissions
specified in the manifest file.
<hr>
+ <button id="buttonid" onclick="buttonOnClick()">Sign in</button>
+ <script>
+ executeAfterGettingCode();
+ </script>
+ <hr>
<p><b>File Operations:</b></p>
<div>
<span>

Powered by Google App Engine
This is Rietveld 408576698