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

Unified Diff: src/trusted/gio/gio_shm_unbounded.h

Issue 594733005: Cleanup: Remove src/trusted/gio/, since it is unused (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix Created 6 years, 3 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
« no previous file with comments | « src/trusted/gio/gio_shm_test.c ('k') | src/trusted/gio/gio_shm_unbounded.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/gio/gio_shm_unbounded.h
diff --git a/src/trusted/gio/gio_shm_unbounded.h b/src/trusted/gio/gio_shm_unbounded.h
deleted file mode 100644
index 3d008aa38d845f6eda56755fc0f9c12a9e5b0726..0000000000000000000000000000000000000000
--- a/src/trusted/gio/gio_shm_unbounded.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2010 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/*
- * Subclass of the gio object for use in trusted code. Provides write
- * buffering into a shared memory object that may grow as needed.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_SHM_UNBOUNDED_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_SHM_UNBOUNDED_H_
-
-#include "native_client/src/include/nacl_base.h"
-
-#include "native_client/src/shared/gio/gio.h"
-
-#include "native_client/src/trusted/gio/gio_shm.h"
-
-EXTERN_C_BEGIN
-
-struct NaClGioShm;
-
-struct NaClGioShmUnbounded {
- /* public */
- struct Gio base;
- struct NaClGioShm *ngsp;
-
- /* private */
- size_t shm_avail_sz;
- size_t shm_written;
- size_t io_offset; /* deal with seeks */
-};
-
-
-/*
- * When the NaClGioShmUnbounded buffer writes are all done,
- * NaClGioShmUnboundedGetNaClDesc is used to obtain the NaClDesc
- * pointer -- caller is responsible for taking another reference with
- * NaClDescRef, if the lifetime must extend beyond that of the
- * NaClGioShmUnbounded object -- and the actual size. Actual size is
- * the largest offset written, not number of bytes written, due to
- * Seek and the potential of overlapping Writes (or gaps).
- */
-struct NaClDesc *NaClGioShmUnboundedGetNaClDesc(
- struct NaClGioShmUnbounded *self,
- size_t *written);
-
-
-int NaClGioShmUnboundedCtor(struct NaClGioShmUnbounded *self);
-
-
-EXTERN_C_END
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_GIO_WRAPPED_DESC_GIO_SHM_UNBOUNDED_H_ */
« no previous file with comments | « src/trusted/gio/gio_shm_test.c ('k') | src/trusted/gio/gio_shm_unbounded.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698