erg@google.com | b16c8a6 | 2010-08-25 05:29:02 +0900 | [diff] [blame] | 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. |
| 4 | |
| 5 | #ifndef IPC_IPC_PARAM_TRAITS_H_ |
| 6 | #define IPC_IPC_PARAM_TRAITS_H_ |
erg@google.com | b16c8a6 | 2010-08-25 05:29:02 +0900 | [diff] [blame] | 7 | |
| 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. |
| 10 | |
| 11 | namespace IPC { |
| 12 | |
| 13 | template <class P> struct ParamTraits { |
| 14 | }; |
| 15 | |
| 16 | template <class P> |
| 17 | struct SimilarTypeTraits { |
| 18 | typedef P Type; |
| 19 | }; |
| 20 | |
| 21 | } // namespace IPC |
| 22 | |
| 23 | #endif // IPC_IPC_PARAM_TRAITS_H_ |