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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 10912086: Add CHECKs to ensure that PPAPI resources are created on the right thread (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/shared_impl/resource_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | ppapi/shared_impl/resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698