1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ppapi/proxy/file_mapping_resource.h"
7 #include "ppapi/c/pp_errors.h"
13 FileMappingResource::MapResult
FileMappingResource::DoMapBlocking(
14 scoped_refptr
<FileIOResource::FileHandleHolder
> handle
,
17 uint32_t map_protection
,
20 // TODO(dmichael): Implement for Windows (crbug.com/83774).
22 map_result
.result
= PP_ERROR_NOTSUPPORTED
;
27 int32_t FileMappingResource::DoUnmapBlocking(const void* address
,
29 // TODO(dmichael): Implement for Windows (crbug.com/83774).
30 return PP_ERROR_NOTSUPPORTED
;
34 int64_t FileMappingResource::DoGetMapPageSize() {
35 // TODO(dmichael): Implement for Windows (crbug.com/83774).