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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.h

Issue 280613002: Pepper: Remove unnecessary CloseManifestEntry code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove QuotaRequest Created 6 years, 7 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 | « no previous file | ppapi/native_client/src/trusted/plugin/service_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/service_runtime.h
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.h b/ppapi/native_client/src/trusted/plugin/service_runtime.h
index 2c1e9a58610c82588ebe98387a3ebbd886d45fe9..a4e282812024cbf49b103b1eb64f42a1216abf5b 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.h
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h
@@ -95,40 +95,6 @@ struct OpenManifestEntryResource {
OpenManifestEntryAsyncCallback* callback;
};
-struct CloseManifestEntryResource {
- public:
- CloseManifestEntryResource(int32_t desc_to_close,
- bool* op_complete,
- bool* op_result)
- : desc(desc_to_close),
- op_complete_ptr(op_complete),
- op_result_ptr(op_result) {}
-
- int32_t desc;
- bool* op_complete_ptr;
- bool* op_result_ptr;
-};
-
-struct QuotaRequest {
- public:
- QuotaRequest(PP_Resource pp_resource,
- int64_t start_offset,
- int64_t quota_bytes_requested,
- int64_t* quota_bytes_granted,
- bool* op_complete)
- : resource(pp_resource),
- offset(start_offset),
- bytes_requested(quota_bytes_requested),
- bytes_granted(quota_bytes_granted),
- op_complete_ptr(op_complete) { }
-
- PP_Resource resource;
- int64_t offset;
- int64_t bytes_requested;
- int64_t* bytes_granted;
- bool* op_complete_ptr;
-};
-
// Do not invoke from the main thread, since the main methods will
// invoke CallOnMainThread and then wait on a condvar for the task to
// complete: if invoked from the main thread, the main method not
@@ -187,10 +153,6 @@ class PluginReverseInterface: public nacl::ReverseInterface {
OpenManifestEntryResource* p,
int32_t result);
- virtual void CloseManifestEntry_MainThreadContinuation(
- CloseManifestEntryResource* cls,
- int32_t err);
-
private:
nacl::WeakRefAnchor* anchor_; // holds a ref
Plugin* plugin_; // value may be copied, but should be used only in
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/service_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698