summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/file_mapping_resource_win.cc
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 18:47:52 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 18:47:52 +0000
commitdd565bb9f6dbea0a58b9a71ca3d8389b8e9405d8 (patch)
tree5c1632df5dc9df829d7ab052cd02a582b80ba2f3 /ppapi/proxy/file_mapping_resource_win.cc
parent7c900e36bebd7fd6696637b3a8c6820644521170 (diff)
downloadchromium_src-dd565bb9f6dbea0a58b9a71ca3d8389b8e9405d8.zip
chromium_src-dd565bb9f6dbea0a58b9a71ca3d8389b8e9405d8.tar.gz
chromium_src-dd565bb9f6dbea0a58b9a71ca3d8389b8e9405d8.tar.bz2
Revert 247473 "PPAPI: Implement PPB_FileMapping on POSIX"
> PPAPI: Implement PPB_FileMapping on POSIX > > BUG=83774 > R=bbudge@chromium.org > > Review URL: https://codereview.chromium.org/69663002 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/144383006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/file_mapping_resource_win.cc')
-rw-r--r--ppapi/proxy/file_mapping_resource_win.cc40
1 files changed, 0 insertions, 40 deletions
diff --git a/ppapi/proxy/file_mapping_resource_win.cc b/ppapi/proxy/file_mapping_resource_win.cc
deleted file mode 100644
index 7d5e66b..0000000
--- a/ppapi/proxy/file_mapping_resource_win.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ppapi/proxy/file_mapping_resource.h"
-
-#include "ppapi/c/pp_errors.h"
-
-namespace ppapi {
-namespace proxy {
-
-// static
-FileMappingResource::MapResult FileMappingResource::DoMapBlocking(
- scoped_refptr<FileIOResource::FileHandleHolder> handle,
- void* address_hint,
- int64_t length,
- uint32_t map_protection,
- uint32_t map_flags,
- int64_t offset) {
- // TODO(dmichael): Implement for Windows (crbug.com/83774).
- MapResult map_result;
- map_result.result = PP_ERROR_NOTSUPPORTED;
- return map_result;
-}
-
-// static
-int32_t FileMappingResource::DoUnmapBlocking(const void* address,
- int64_t length) {
- // TODO(dmichael): Implement for Windows (crbug.com/83774).
- return PP_ERROR_NOTSUPPORTED;
-}
-
-// static
-int64_t FileMappingResource::DoGetMapPageSize() {
- // TODO(dmichael): Implement for Windows (crbug.com/83774).
- return 0;
-}
-
-} // namespace proxy
-} // namespace ppapi