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

Unified Diff: src/trusted/plugin/npapi/npp_launcher.cc

Issue 6452010: Remove the x-ppapi-nacl-srpc and x-nacl-srpc mime types in favor of the singl... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 10 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/plugin/nacl_entry_points.cc ('k') | src/trusted/plugin/osx/Info.plist » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/npapi/npp_launcher.cc
===================================================================
--- src/trusted/plugin/npapi/npp_launcher.cc (revision 4284)
+++ src/trusted/plugin/npapi/npp_launcher.cc (working copy)
@@ -55,7 +55,7 @@
"";
char* NPP_GetMIMEDescription() {
- return const_cast<char*>("application/x-nacl-srpc:nexe:NativeClient"
+ return const_cast<char*>("application/x-nacl:nexe:NativeClient"
" Simple RPC module;");
}
@@ -90,7 +90,7 @@
if (npp == NULL) {
return NPERR_INVALID_INSTANCE_ERROR;
}
- if (strcmp(plugin_type, "application/x-nacl-srpc") == 0) {
+ if (strcmp(plugin_type, "application/x-nacl") == 0) {
npp->pdata = static_cast<nacl::NPInstance*>(
plugin::PluginNpapi::New(npp, argc, argn, argv));
if (npp->pdata == NULL) {
« no previous file with comments | « src/trusted/plugin/nacl_entry_points.cc ('k') | src/trusted/plugin/osx/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698