This is similar to https://codereview.chromium.org/328423002/ where we started archiv...
[chromium-blink-merge.git] / ipc / ipc_param_traits.h
blob45e975c30a746aa7fdad5fc47713b03f479d8fb8
1 // Copyright (c) 2010 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 #ifndef IPC_IPC_PARAM_TRAITS_H_
6 #define IPC_IPC_PARAM_TRAITS_H_
8 // Our IPC system uses the following partially specialized header to define how
9 // a data type is read, written and logged in the IPC system.
11 namespace IPC {
13 template <class P> struct ParamTraits {
16 template <class P>
17 struct SimilarTypeTraits {
18 typedef P Type;
21 } // namespace IPC
23 #endif // IPC_IPC_PARAM_TRAITS_H_