Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / mojo / public / bindings / type_converter.h
1 // Copyright 2014 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 MOJO_PUBLIC_BINDINGS_TYPE_CONVERTER_H_
6 #define MOJO_PUBLIC_BINDINGS_TYPE_CONVERTER_H_
7
8 namespace mojo {
9
10 // Specialize to perform type conversion.
11 template <typename T, typename U> class TypeConverter {
12   // static T ConvertFrom(const U& input, Buffer* buf);
13   // static U ConvertTo(const T& input);
14 };
15
16 }  // namespace mojo
17
18 #endif  // MOJO_PUBLIC_BINDINGS_TYPE_CONVERTER_H_