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

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

Issue 10665036: Cache Nacl Plugin private interface instead of calling GetnaclInterface on every process launch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 6 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: ppapi/native_client/src/trusted/plugin/plugin.h
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index 1a709d86401832994a40a7b38925f7fc686f7486..253cfd5d77a84bcaa87d9348beefd678b3cbaa28 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -25,6 +25,7 @@
#include "native_client/src/trusted/plugin/service_runtime.h"
#include "native_client/src/trusted/plugin/utility.h"
+#include "ppapi/c/private/ppb_nacl_private.h"
#include "ppapi/cpp/private/var_private.h"
// for pp::VarPrivate
#include "ppapi/cpp/private/instance_private.h"
@@ -520,6 +521,8 @@ class Plugin : public pp::InstancePrivate {
// Whether we are using IPC-based PPAPI proxy.
bool using_ipc_proxy_;
+
+ const PPB_NaCl_Private* nacl_interface_;
};
} // namespace plugin
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | ppapi/native_client/src/trusted/plugin/plugin.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698