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

Unified Diff: src/trusted/sel_universal/pepper_emu_handler.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
Index: src/trusted/sel_universal/pepper_emu_handler.cc
===================================================================
--- src/trusted/sel_universal/pepper_emu_handler.cc (revision 5581)
+++ src/trusted/sel_universal/pepper_emu_handler.cc (working copy)
@@ -41,7 +41,7 @@
#include "native_client/src/trusted/desc/nacl_desc_wrapper.h"
#include "native_client/src/trusted/sel_universal/rpc_universal.h"
-#include "native_client/src/trusted/sel_universal/multimedia.h"
+#include "native_client/src/trusted/sel_universal/primitives.h"
#include "native_client/src/trusted/sel_universal/parsing.h"
#include "native_client/src/trusted/sel_universal/pepper_emu.h"
#include "native_client/src/trusted/sel_universal/srpc_helper.h"
@@ -459,7 +459,8 @@
// TODO(robertm): rename this to HandlerPepperEmuInitialize
#define TUPLE(a, b) #a #b, a
-bool HandlerSDLInitialize(NaClCommandLoop* ncl, const vector<string>& args) {
+bool HandlerPepperEmuInitialize(NaClCommandLoop* ncl,
+ const vector<string>& args) {
NaClLog(LOG_INFO, "HandlerSDLInitialize\n");
if (args.size() < 5) {
NaClLog(LOG_ERROR, "Insufficient arguments to 'rpc' command.\n");
@@ -575,7 +576,8 @@
// This can be sometime useful for debugging but is wasting cycles
// #define USE_POLLING
-bool HandlerSDLEventLoop(NaClCommandLoop* ncl, const vector<string>& args) {
+bool HandlerPepperEmuEventLoop(NaClCommandLoop* ncl,
+ const vector<string>& args) {
Sang Ahn 2011/06/09 20:34:48 Emu is short for Emulator?
robertm 2011/06/09 21:02:21 yes On 2011/06/09 20:34:48, Sang Ahn wrote:
NaClLog(LOG_INFO, "HandlerSDLEventLoop\n");
UNREFERENCED_PARAMETER(args);
UNREFERENCED_PARAMETER(ncl);

Powered by Google App Engine
This is Rietveld 408576698