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

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 Windows build? Created 6 years, 11 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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 ); 951 );
952 } 952 }
953 IN_PROC_BROWSER_TEST_F(PPAPIPrivateNaClPNaClTest, MAYBE_PNaCl_FileIO_Private) { 953 IN_PROC_BROWSER_TEST_F(PPAPIPrivateNaClPNaClTest, MAYBE_PNaCl_FileIO_Private) {
954 RunTestViaHTTP( 954 RunTestViaHTTP(
955 LIST_TEST(FileIO_RequestOSFileHandle) 955 LIST_TEST(FileIO_RequestOSFileHandle)
956 LIST_TEST(FileIO_RequestOSFileHandleWithOpenExclusive) 956 LIST_TEST(FileIO_RequestOSFileHandleWithOpenExclusive)
957 LIST_TEST(FileIO_Mmap) 957 LIST_TEST(FileIO_Mmap)
958 ); 958 );
959 } 959 }
960 960
961 // PPB_FileMapping is only implemented on POSIX currently.
962 // http://crbug.com/83774
963 #if defined(OS_WIN)
964 #define MAYBE_FileMapping DISABLED_FileMapping
965 #else
966 #define MAYBE_FileMapping FileMapping
967 #endif
968 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(MAYBE_FileMapping)
969 TEST_PPAPI_NACL(MAYBE_FileMapping)
970
961 // Note, the FileRef tests are split in to two, because all of them together 971 // Note, the FileRef tests are split in to two, because all of them together
962 // sometimes takes too long on windows: crbug.com/336999 972 // sometimes takes too long on windows: crbug.com/336999
963 IN_PROC_BROWSER_TEST_F(PPAPITest, FileRef1) { 973 IN_PROC_BROWSER_TEST_F(PPAPITest, FileRef1) {
964 RunTestViaHTTP( 974 RunTestViaHTTP(
965 LIST_TEST(FileRef_Create) 975 LIST_TEST(FileRef_Create)
966 LIST_TEST(FileRef_GetFileSystemType) 976 LIST_TEST(FileRef_GetFileSystemType)
967 LIST_TEST(FileRef_GetName) 977 LIST_TEST(FileRef_GetName)
968 LIST_TEST(FileRef_GetPath) 978 LIST_TEST(FileRef_GetPath)
969 LIST_TEST(FileRef_GetParent) 979 LIST_TEST(FileRef_GetParent)
970 LIST_TEST(FileRef_MakeDirectory) 980 LIST_TEST(FileRef_MakeDirectory)
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 LIST_TEST(FlashDRM_GetHmonitor) 1698 LIST_TEST(FlashDRM_GetHmonitor)
1689 LIST_TEST(FlashDRM_GetVoucherFile)); 1699 LIST_TEST(FlashDRM_GetVoucherFile));
1690 } 1700 }
1691 1701
1692 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1702 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1693 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1703 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1694 1704
1695 #if defined(OS_CHROMEOS) 1705 #if defined(OS_CHROMEOS)
1696 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1706 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1697 #endif 1707 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698