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

Unified Diff: ipc/ipc_message_utils.h

Issue 2843113002: make base::SharedMemoryHandle a class on POSIX. (Closed)
Patch Set: Fix test error. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ipc/ipc_message_utils.h
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h
index 5f03606811f18153886b4327a47c2233c12db8d4..847a617c8334ee33bfa54adab77c3d252081476f 100644
--- a/ipc/ipc_message_utils.h
+++ b/ipc/ipc_message_utils.h
@@ -37,15 +37,12 @@ class DictionaryValue;
class FilePath;
class ListValue;
class NullableString16;
+class SharedMemoryHandle;
class Time;
class TimeDelta;
class TimeTicks;
class UnguessableToken;
struct FileDescriptor;
-
-#if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN)
-class SharedMemoryHandle;
-#endif // (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN)
}
namespace IPC {
@@ -585,7 +582,6 @@ struct IPC_EXPORT ParamTraits<base::FileDescriptor> {
};
#endif // defined(OS_POSIX)
-#if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN)
template <>
struct IPC_EXPORT ParamTraits<base::SharedMemoryHandle> {
typedef base::SharedMemoryHandle param_type;
@@ -596,7 +592,6 @@ struct IPC_EXPORT ParamTraits<base::SharedMemoryHandle> {
param_type* r);
static void Log(const param_type& p, std::string* l);
};
-#endif // (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN)
template <>
struct IPC_EXPORT ParamTraits<base::FilePath> {

Powered by Google App Engine
This is Rietveld 408576698