| Index: chrome/test/ui/ppapi_uitest.cc
|
| diff --git a/chrome/test/ui/ppapi_uitest.cc b/chrome/test/ui/ppapi_uitest.cc
|
| index d80e406ecb6719d16a9f85de06c54f9ed1aefd1e..7e0e6a0e57a6fb979b529b5c42ab3386ced37130 100644
|
| --- a/chrome/test/ui/ppapi_uitest.cc
|
| +++ b/chrome/test/ui/ppapi_uitest.cc
|
| @@ -53,6 +53,11 @@ class PPAPITest : public UITest {
|
| // TODO(dumi): remove this switch once we have a quota management
|
| // system in place.
|
| launch_arguments_.AppendSwitch(switches::kUnlimitedQuotaForFiles);
|
| +
|
| +#if defined(ENABLE_P2P_APIS)
|
| + // Enable P2P API.
|
| + launch_arguments_.AppendSwitch(switches::kEnableP2PApi);
|
| +#endif // ENABLE_P2P_APIS
|
| }
|
|
|
| void RunTest(const std::string& test_case) {
|
| @@ -169,7 +174,8 @@ TEST_F(PPAPITest, DISABLED_DirectoryReader) {
|
| RunTestViaHTTP("DirectoryReader");
|
| }
|
|
|
| -// http://crbug.com/83395
|
| -TEST_F(PPAPITest, DISABLED_Transport) {
|
| +#if defined(ENABLE_P2P_APIS)
|
| +TEST_F(PPAPITest, Transport) {
|
| RunTest("Transport");
|
| }
|
| +#endif // ENABLE_P2P_APIS
|
|
|