[email protected] | 939856a | 2010-08-24 20:29:02 | [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_ |
| 7 | #pragma once |
| 8 | |
| 9 | // Our IPC system uses the following partially specialized header to define how |
| 10 | // a data type is read, written and logged in the IPC system. |
| 11 | |
| 12 | namespace IPC { |
| 13 | |
| 14 | template <class P> struct ParamTraits { |
| 15 | }; |
| 16 | |
| 17 | template <class P> |
| 18 | struct SimilarTypeTraits { |
| 19 | typedef P Type; |
| 20 | }; |
| 21 | |
| 22 | } // namespace IPC |
| 23 | |
| 24 | #endif // IPC_IPC_PARAM_TRAITS_H_ |