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

Unified Diff: src/trusted/sel_universal/sel_universal.cc

Issue 7046064: Some small refactoring and renaming of sel_universel pepper emulation components. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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
« no previous file with comments | « src/trusted/sel_universal/sdl_ppapi_event_translator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/sel_universal/sel_universal.cc
===================================================================
--- src/trusted/sel_universal/sel_universal.cc (revision 5599)
+++ src/trusted/sel_universal/sel_universal.cc (working copy)
@@ -32,7 +32,7 @@
#if defined(NACL_SEL_UNIVERSAL_INCLUDE_SDL)
// NOTE: we need to include this so that it can "hijack" main
#include <SDL/SDL.h>
-#include "native_client/src/trusted/sel_universal/multimedia_handler.h"
+#include "native_client/src/trusted/sel_universal/pepper_emu_handler.h"
#endif
#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
@@ -293,8 +293,12 @@
loop.AddHandler("sync_socket_create", HandlerSyncSocketCreate);
loop.AddHandler("sync_socket_write", HandlerSyncSocketWrite);
#if NACL_SEL_UNIVERSAL_INCLUDE_SDL
- loop.AddHandler("sdl_initialize", HandlerSDLInitialize);
- loop.AddHandler("sdl_event_loop", HandlerSDLEventLoop);
+ // obsolete names
+ loop.AddHandler("sdl_initialize", HandlerPepperEmuInitialize);
+ loop.AddHandler("sdl_event_loop", HandlerPepperEmuEventLoop);
+ // new names
+ loop.AddHandler("pepper_emu_initialize", HandlerPepperEmuInitialize);
+ loop.AddHandler("pepper_emu_event_loop", HandlerPepperEmuEventLoop);
#endif
NaClLog(1, "populating initial vars\n");
« no previous file with comments | « src/trusted/sel_universal/sdl_ppapi_event_translator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698