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

Side by Side Diff: native_client_sdk/src/examples/hello_nacl_io/index.html

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <meta http-equiv="Pragma" content="no-cache"> 9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1"> 10 <meta http-equiv="Expires" content="-1">
11 <title><TITLE></title> 11 <title><TITLE></title>
12 <script type="text/javascript" src="common.js"></script> 12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script> 13 <script type="text/javascript" src="example.js"></script>
14 </head> 14 </head>
15 <body data-name="<NAME>" data-tc="<tc>" data-path="<path>" 15 <body data-name="<NAME>" data-tc="<tc>" data-path="<path>"
16 data-custom-load="true"> 16 data-custom-load="true">
17 <h1><TITLE></h1> 17 <h1><TITLE></h1>
18 <h2>Status: <code id="statusField">NO-STATUS</code></h2> 18 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
19 <p> 19 <p>
20 This example shows how you can use standard C library file operation 20 This example shows how you can use standard C library file operation
21 functions in Native Client using a library called nacl_mounts. 21 functions in Native Client using a library called nacl_io.
22 </p> 22 </p>
23 <p> 23 <p>
24 nacl_mounts provides a virtual filesystem. The filesystem can be "mounted" 24 nacl_io provides a virtual filesystem. The filesystem can be "mounted"
25 in a given directory tree. When you perform operations on files in those 25 in a given directory tree. When you perform operations on files in those
26 directories, the mount determines how those operations should be performed. 26 directories, the mount determines how those operations should be performed.
27 </p> 27 </p>
28 <p> 28 <p>
29 This example has three mounts by default. 29 This example has three mounts by default.
30 <ol> 30 <ol>
31 <li><i>/</i> the root of the filesystem. This is a memory mount, and 31 <li><i>/</i> the root of the filesystem. This is a memory mount, and
32 is non-persistent.</li> 32 is non-persistent.</li>
33 <li><i>/persistent</i> a persistent storage area. Any data written 33 <li><i>/persistent</i> a persistent storage area. Any data written
34 here can be read back after Chrome is restarted.</li> 34 here can be read back after Chrome is restarted.</li>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 </select> 97 </select>
98 <button id="fseekExecute">fseek</button> 98 <button id="fseekExecute">fseek</button>
99 </span> 99 </span>
100 </div> 100 </div>
101 <!-- The NaCl plugin will be embedded inside the element with id "listener". 101 <!-- The NaCl plugin will be embedded inside the element with id "listener".
102 See common.js.--> 102 See common.js.-->
103 <div id="listener"></div> 103 <div id="listener"></div>
104 <div id="log"></div> 104 <div id="log"></div>
105 </body> 105 </body>
106 </html> 106 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/hello_nacl_io/hello_nacl_io.c ('k') | native_client_sdk/src/examples/hello_nacl_io/queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698