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

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

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix missing return Created 6 years, 10 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
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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 ); 964 );
965 } 965 }
966 IN_PROC_BROWSER_TEST_F(PPAPIPrivateNaClPNaClTest, MAYBE_PNaCl_FileIO_Private) { 966 IN_PROC_BROWSER_TEST_F(PPAPIPrivateNaClPNaClTest, MAYBE_PNaCl_FileIO_Private) {
967 RunTestViaHTTP( 967 RunTestViaHTTP(
968 LIST_TEST(FileIO_RequestOSFileHandle) 968 LIST_TEST(FileIO_RequestOSFileHandle)
969 LIST_TEST(FileIO_RequestOSFileHandleWithOpenExclusive) 969 LIST_TEST(FileIO_RequestOSFileHandleWithOpenExclusive)
970 LIST_TEST(FileIO_Mmap) 970 LIST_TEST(FileIO_Mmap)
971 ); 971 );
972 } 972 }
973 973
974 // PPB_FileMapping is only implemented on POSIX currently.
975 // http://crbug.com/83774
976 #if defined(OS_WIN)
977 #define MAYBE_FileMapping DISABLED_FileMapping
978 #else
979 #define MAYBE_FileMapping FileMapping
980 #endif
981 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(MAYBE_FileMapping)
982 TEST_PPAPI_NACL(MAYBE_FileMapping)
983
974 // Note, the FileRef tests are split into two, because all of them together 984 // Note, the FileRef tests are split into two, because all of them together
975 // sometimes take too long on windows: crbug.com/336999 985 // sometimes take too long on windows: crbug.com/336999
976 IN_PROC_BROWSER_TEST_F(PPAPITest, FileRef1) { 986 IN_PROC_BROWSER_TEST_F(PPAPITest, FileRef1) {
977 RunTestViaHTTP( 987 RunTestViaHTTP(
978 LIST_TEST(FileRef_Create) 988 LIST_TEST(FileRef_Create)
979 LIST_TEST(FileRef_GetFileSystemType) 989 LIST_TEST(FileRef_GetFileSystemType)
980 LIST_TEST(FileRef_GetName) 990 LIST_TEST(FileRef_GetName)
981 LIST_TEST(FileRef_GetPath) 991 LIST_TEST(FileRef_GetPath)
982 LIST_TEST(FileRef_GetParent) 992 LIST_TEST(FileRef_GetParent)
983 LIST_TEST(FileRef_MakeDirectory) 993 LIST_TEST(FileRef_MakeDirectory)
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 LIST_TEST(FlashDRM_GetHmonitor) 1711 LIST_TEST(FlashDRM_GetHmonitor)
1702 LIST_TEST(FlashDRM_GetVoucherFile)); 1712 LIST_TEST(FlashDRM_GetVoucherFile));
1703 } 1713 }
1704 1714
1705 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1715 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1706 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1716 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1707 1717
1708 #if defined(OS_CHROMEOS) 1718 #if defined(OS_CHROMEOS)
1709 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1719 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1710 #endif 1720 #endif
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/ppapi_utils.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698