OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/test/ppapi/ppapi_test.h" | 5 #include "chrome/test/ppapi/ppapi_test.h" |
6 | 6 |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/browser/content_settings/host_content_settings_map.h" | 9 #include "chrome/browser/content_settings/host_content_settings_map.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 TEST_PPAPI_OUT_OF_PROCESS(MouseCursor) | 880 TEST_PPAPI_OUT_OF_PROCESS(MouseCursor) |
881 TEST_PPAPI_NACL_VIA_HTTP(MouseCursor) | 881 TEST_PPAPI_NACL_VIA_HTTP(MouseCursor) |
882 | 882 |
883 // PPB_MessageLoop is only supported out-of-process. | 883 // PPB_MessageLoop is only supported out-of-process. |
884 // TODO(dmichael): Enable for NaCl with the IPC proxy. crbug.com/116317 | 884 // TODO(dmichael): Enable for NaCl with the IPC proxy. crbug.com/116317 |
885 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Basics) | 885 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Basics) |
886 // Note to sheriffs: MessageLoop_Post starts a thread, which has a history of | 886 // Note to sheriffs: MessageLoop_Post starts a thread, which has a history of |
887 // slowness, particularly on Windows XP. If this test times out, please try | 887 // slowness, particularly on Windows XP. If this test times out, please try |
888 // marking it SLOW_ before disabling. | 888 // marking it SLOW_ before disabling. |
889 // - dmichael | 889 // - dmichael |
| 890 // MessageLoop_Post starts a thread so only run it if pepper threads are |
| 891 // enabled. |
| 892 #ifdef ENABLE_PEPPER_THREADING |
890 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Post) | 893 TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Post) |
| 894 #endif |
891 | 895 |
892 // Only enabled in out-of-process mode. | 896 // Only enabled in out-of-process mode. |
893 TEST_PPAPI_OUT_OF_PROCESS(FlashFile_CreateTemporaryFile) | 897 TEST_PPAPI_OUT_OF_PROCESS(FlashFile_CreateTemporaryFile) |
894 | 898 |
895 #endif // ADDRESS_SANITIZER | 899 #endif // ADDRESS_SANITIZER |
OLD | NEW |