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

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

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix c file. 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/kernel_handle.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.h b/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.h
deleted file mode 100644
index acbc1f1ce412e0d6d046cf45887b89c28a729ef6..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/libraries/nacl_mounts/kernel_handle.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_KERNEL_HANDLE_H_
-#define LIBRARIES_NACL_MOUNTS_KERNEL_HANDLE_H_
-
-#include <pthread.h>
-
-#include "nacl_mounts/ostypes.h"
-#include "utils/macros.h"
-#include "utils/ref_object.h"
-
-class Mount;
-class MountNode;
-
-// KernelHandle provides a reference counted container for the open
-// file information, such as it's mount, node, access type and offset.
-// KernelHandle can only be referenced when the KernelProxy lock is held.
-class KernelHandle : public RefObject {
- public:
- KernelHandle(Mount* mnt, MountNode* node, int oflags);
-
- off_t Seek(off_t offset, int whence);
-
- Mount* mount_;
- MountNode* node_;
- int mode_;
- size_t offs_;
-
- private:
- // May only be called by the KernelProxy when the Kernel's
- // lock is held.
- friend class KernelObject;
- friend class KernelProxy;
- void Acquire() { RefObject::Acquire(); }
- bool Release() { return RefObject::Release(); }
- DISALLOW_COPY_AND_ASSIGN(KernelHandle);
-};
-
-#endif // LIBRARIES_NACL_MOUNTS_KERNEL_HANDLE_H_

Powered by Google App Engine
This is Rietveld 408576698