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

Unified Diff: ppapi/proxy/ppb_testing_proxy.cc

Issue 10918083: Changes to allow testing interface for new NaCl Proxy (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « ppapi/proxy/ppb_audio_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_testing_proxy.cc
===================================================================
--- ppapi/proxy/ppb_testing_proxy.cc (revision 157652)
+++ ppapi/proxy/ppb_testing_proxy.cc (working copy)
@@ -93,10 +93,16 @@
}
PP_Var GetDocumentURL(PP_Instance instance, PP_URLComponents_Dev* components) {
+#if !defined(OS_NACL)
EnterInstance enter(instance);
if (enter.failed())
return PP_MakeUndefined();
return enter.functions()->GetDocumentURL(instance, components);
+#else
+ // TODO(nfullagar): Implement something better for the new NaCl IPC plugin.
+ // For now, this will at least allow some of the PPAPI tests to work.
+ return PP_MakeUndefined();
+#endif
}
// TODO(dmichael): Ideally we could get a way to check the number of vars in the
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698