diff options
author | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 19:34:59 +0000 |
---|---|---|
committer | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 19:34:59 +0000 |
commit | 7075b06c4ddb77982b62ffcecb46a6c52d7860f4 (patch) | |
tree | 2f0e1f34ef05253c573b4cfbe3a7ff48fe7dfe8f /ipc/ipc_platform_file.h | |
parent | 37048f235367c282f1dba8c26364050dfc083d90 (diff) | |
download | chromium_src-7075b06c4ddb77982b62ffcecb46a6c52d7860f4.zip chromium_src-7075b06c4ddb77982b62ffcecb46a6c52d7860f4.tar.gz chromium_src-7075b06c4ddb77982b62ffcecb46a6c52d7860f4.tar.bz2 |
Revert 31875 to see whether it fixes reliability bot.
BUG=25677
TEST=None
Review URL: http://codereview.chromium.org/397014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_platform_file.h')
-rw-r--r-- | ipc/ipc_platform_file.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h deleted file mode 100644 index 4307412..0000000 --- a/ipc/ipc_platform_file.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2009 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. - -#ifndef IPC_IPC_PLATFORM_FILE_H_ -#define IPC_IPC_PLATFORM_FILE_H_ - -#include "base/basictypes.h" - -#include "base/platform_file.h" - -#if defined(OS_POSIX) -#include "base/file_descriptor_posix.h" -#endif - -namespace IPC { - -#if defined(OS_WIN) -typedef base::PlatformFile PlatformFileForTransit; -#elif defined(OS_POSIX) -typedef base::FileDescriptor PlatformFileForTransit; -#endif - -inline base::PlatformFile PlatformFileForTransitToPlatformFile( - const PlatformFileForTransit& transit) { -#if defined(OS_WIN) - return transit; -#elif defined(OS_POSIX) - return transit.fd; -#endif -} - -} // namespace IPC - -#endif // IPC_IPC_PLATFORM_FILE_H_ |