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

Unified Diff: tests/fake_browser/fake_browser_test.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 | « tests/earth/earth.html ('k') | tests/inbrowser_test_runner/test_runner.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/fake_browser/fake_browser_test.cc
===================================================================
--- tests/fake_browser/fake_browser_test.cc (revision 4284)
+++ tests/fake_browser/fake_browser_test.cc (working copy)
@@ -580,7 +580,7 @@
void TestNewAndDestroy() {
printf("Test NPP_New() and NPP_Destroy()...\n");
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
int argc = 0;
char** arg_names = NULL;
@@ -603,7 +603,7 @@
}
void TestHelloWorldMethod(const char* nexe_url, bool reverse_deallocate) {
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
int argc = 0;
char** arg_names = NULL;
@@ -649,7 +649,7 @@
printf("Test failure to init SRPC...\n");
const char* nexe_url = "http://localhost/hello_world.nexe";
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
CheckRetval(plugin_funcs.newp(mime_type, plugin_instance, NP_EMBED,
0, NULL, NULL, NULL));
@@ -683,7 +683,7 @@
printf("Test assigning to src twice...\n");
const char* nexe_url = "http://localhost/spin.nexe";
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
CheckRetval(plugin_funcs.newp(mime_type, plugin_instance, NP_EMBED,
0, NULL, NULL, NULL));
@@ -710,7 +710,7 @@
printf("Test asynchronous messages...\n");
const char* nexe_url = "http://localhost/async_message_test.nexe";
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
CheckRetval(plugin_funcs.newp(mime_type, plugin_instance, NP_EMBED,
0, NULL, NULL, NULL));
@@ -821,7 +821,7 @@
printf("Test __startSrpcServices()...\n");
const char* nexe_url = "http://localhost/deferred_srpc_init.nexe";
- NPMIMEType mime_type = const_cast<char*>("application/x-nacl-srpc");
+ NPMIMEType mime_type = const_cast<char*>("application/x-nacl");
NPP plugin_instance = new NPP_t;
CheckRetval(plugin_funcs.newp(mime_type, plugin_instance, NP_EMBED,
0, NULL, NULL, NULL));
« no previous file with comments | « tests/earth/earth.html ('k') | tests/inbrowser_test_runner/test_runner.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698