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

Unified Diff: ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc

Issue 11428063: Add a flag to LaunchSelLdr to skip grabbing a routing_id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reduce mod Created 8 years, 1 month 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/sel_ldr_launcher_chrome.cc
diff --git a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
index 60907d0b364f467b14b28504903a0fd80c79f11d..8da1aeb3e10fa6bbac359b732ea39eddb10a7b80 100644
--- a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
+++ b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
@@ -11,11 +11,12 @@ LaunchNaClProcessFunc launch_nacl_process = NULL;
namespace plugin {
bool SelLdrLauncherChrome::Start(const char* url) {
- return Start(0, url, false);
+ return Start(0, url, true, false);
}
bool SelLdrLauncherChrome::Start(PP_Instance instance,
const char* url,
+ bool uses_ppapi,
bool enable_ppapi_dev) {
if (!launch_nacl_process)
return false;
@@ -24,6 +25,7 @@ bool SelLdrLauncherChrome::Start(PP_Instance instance,
static const int kNumberOfChannelsToBeCreated = 1;
if (launch_nacl_process(instance,
url,
+ PP_FromBool(uses_ppapi),
PP_FromBool(enable_ppapi_dev),
kNumberOfChannelsToBeCreated,
&channel_) != PP_NACL_OK) {

Powered by Google App Engine
This is Rietveld 408576698