diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 00:33:21 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 00:33:21 +0000 |
commit | 719b781e1977238c141dfbfac732b251b19f5f6e (patch) | |
tree | 29fb405617342c7542301fae3acf21367949ecdd /ppapi/proxy/ppp_instance_private_proxy_unittest.cc | |
parent | 6680062241266d9a2b267b98a2e6689ecb5f72c1 (diff) | |
download | chromium_src-719b781e1977238c141dfbfac732b251b19f5f6e.zip chromium_src-719b781e1977238c141dfbfac732b251b19f5f6e.tar.gz chromium_src-719b781e1977238c141dfbfac732b251b19f5f6e.tar.bz2 |
Enable pepper threading by default.
BUG=159240
Review URL: https://codereview.chromium.org/11361075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppp_instance_private_proxy_unittest.cc')
-rw-r--r-- | ppapi/proxy/ppp_instance_private_proxy_unittest.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc index 58bac92..df1af0c 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(); |