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

Unified Diff: ppapi/proxy/ppp_instance_private_proxy_unittest.cc

Issue 11361075: Enable pepper threading by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lock on resource replies 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
« ppapi/proxy/plugin_dispatcher.cc ('K') | « ppapi/proxy/plugin_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_instance_private_proxy_unittest.cc
diff --git a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc
index 58bac927529803b1939c766052bf9b5ea9adf407..df1af0ccf0744e7f8448394856ff834ed4d1b954 100644
--- a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc
+++ b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc
@@ -13,7 +13,9 @@
#include "ppapi/c/ppp_instance.h"
#include "ppapi/c/private/ppp_instance_private.h"
#include "ppapi/proxy/host_dispatcher.h"
+#include "ppapi/proxy/interface_list.h"
#include "ppapi/proxy/ppapi_proxy_test.h"
+#include "ppapi/shared_impl/ppapi_permissions.h"
#include "ppapi/shared_impl/ppb_var_shared.h"
#include "ppapi/shared_impl/var.h"
@@ -159,6 +161,10 @@ TEST_F(PPP_Instance_Private_ProxyTest, DISABLED_PPPInstancePrivate) {
ASSERT_NE(kInstance, pp_instance());
HostDispatcher::SetForInstance(kInstance, host().host_dispatcher());
+ // Requires dev interfaces.
+ InterfaceList::SetProcessGlobalPermissions(
+ PpapiPermissions::AllPermissions());
+
// This file-local global is used by the PPP_Instance mock above in order to
// access PPB_Var_Deprecated.
plugin_dispatcher = plugin().plugin_dispatcher();
« ppapi/proxy/plugin_dispatcher.cc ('K') | « ppapi/proxy/plugin_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698