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

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

Issue 11592003: Add support for simple run of "main" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace missing stdio Created 8 years 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/real_pepper_interface.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/real_pepper_interface.h b/native_client_sdk/src/libraries/nacl_mounts/real_pepper_interface.h
index b0a4a52186c90539bc4928873cc31477f31b335e..8e6e8a1b83bc7f8f308fbd04d004a74af1ab35fe 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/real_pepper_interface.h
+++ b/native_client_sdk/src/libraries/nacl_mounts/real_pepper_interface.h
@@ -7,13 +7,18 @@
#include <ppapi/c/ppb.h>
#include <ppapi/c/ppb_core.h>
+#include <ppapi/c/ppb_console.h>
#include <ppapi/c/ppb_message_loop.h>
+#include <ppapi/c/ppb_messaging.h>
+#include <ppapi/c/ppb_var.h>
#include "pepper_interface.h"
+class RealConsoleInterface;
class RealDirectoryReaderInterface;
class RealFileIoInterface;
class RealFileRefInterface;
class RealFileSystemInterface;
+class RealMessagingInterface;
class RealVarInterface;
class RealPepperInterface : public PepperInterface {
@@ -24,10 +29,12 @@ class RealPepperInterface : public PepperInterface {
virtual PP_Instance GetInstance();
virtual void AddRefResource(PP_Resource);
virtual void ReleaseResource(PP_Resource);
+ virtual ConsoleInterface* GetConsoleInterface();
virtual FileSystemInterface* GetFileSystemInterface();
virtual FileRefInterface* GetFileRefInterface();
virtual FileIoInterface* GetFileIoInterface();
virtual DirectoryReaderInterface* GetDirectoryReaderInterface();
+ virtual MessagingInterface* GetMessagingInterface();
virtual VarInterface* GetVarInterface();
int32_t InitializeMessageLoop();
@@ -36,10 +43,12 @@ class RealPepperInterface : public PepperInterface {
PP_Instance instance_;
const PPB_Core* core_interface_;
const PPB_MessageLoop* message_loop_interface_;
+ RealConsoleInterface* console_interface_;
RealDirectoryReaderInterface* directory_reader_interface_;
RealFileIoInterface* fileio_interface_;
RealFileRefInterface* fileref_interface_;
RealFileSystemInterface* filesystem_interface_;
+ RealMessagingInterface* messaging_interface_;
RealVarInterface* var_interface_;
};

Powered by Google App Engine
This is Rietveld 408576698