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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount_node_html5fs.h

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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_mounts/mount_node_html5fs.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount_node_html5fs.h b/native_client_sdk/src/libraries/nacl_mounts/mount_node_html5fs.h
deleted file mode 100644
index 62a6d311eb8ec5a97ef3fd3db2f6457f255d62e6..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/libraries/nacl_mounts/mount_node_html5fs.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (c) 2012 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.
- */
-#ifndef LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_NODE_H_
-#define LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_NODE_H_
-
-#include <ppapi/c/pp_resource.h>
-#include "nacl_mounts/mount_node.h"
-
-class MountHtml5Fs;
-
-class MountNodeHtml5Fs : public MountNode {
- public:
- // Normal OS operations on a node (file), can be called by the kernel
- // directly so it must lock and unlock appropriately. These functions
- // must not be called by the mount.
- virtual int FSync();
- virtual int GetDents(size_t offs, struct dirent* pdir, size_t count);
- virtual int GetStat(struct stat* stat);
- virtual int Read(size_t offs, void* buf, size_t count);
- virtual int Truncate(size_t size);
- virtual int Write(size_t offs, const void* buf, size_t count);
-
- virtual size_t GetSize();
-
- protected:
- MountNodeHtml5Fs(Mount* mount, PP_Resource fileref);
-
- // Init with standard open flags
- virtual bool Init(int o_mode);
- virtual void Destroy();
-
- private:
- PP_Resource fileref_resource_;
- PP_Resource fileio_resource_;
-
- friend class MountHtml5Fs;
-};
-
-#endif // LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_NODE_H_

Powered by Google App Engine
This is Rietveld 408576698