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

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
« no previous file with comments | « src/trusted/sel_universal/pepper_emu_handler.h ('k') | src/trusted/sel_universal/primitives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
NaClLog(LOG_INFO, "HandlerSDLEventLoop\n");
UNREFERENCED_PARAMETER(args);
UNREFERENCED_PARAMETER(ncl);
« no previous file with comments | « src/trusted/sel_universal/pepper_emu_handler.h ('k') | src/trusted/sel_universal/primitives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698