X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmojo%2Fcommon%2Fcommon_type_converters.h;h=a43d18b5fe49a7b8c6a7f8a3fdb8eb6655478224;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=5437ec442f598b0d1e6f53786ea791e2ad2e22c7;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/mojo/common/common_type_converters.h b/src/mojo/common/common_type_converters.h index 5437ec4..a43d18b 100644 --- a/src/mojo/common/common_type_converters.h +++ b/src/mojo/common/common_type_converters.h @@ -8,8 +8,8 @@ #include "base/strings/string16.h" #include "base/strings/string_piece.h" #include "mojo/common/mojo_common_export.h" -#include "mojo/public/bindings/array.h" -#include "mojo/public/bindings/type_converter.h" +#include "mojo/public/cpp/bindings/array.h" +#include "mojo/public/cpp/bindings/type_converter.h" namespace mojo { @@ -18,6 +18,8 @@ class MOJO_COMMON_EXPORT TypeConverter { public: static String ConvertFrom(const base::StringPiece& input, Buffer* buf); static base::StringPiece ConvertTo(const String& input); + + MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION(); }; template <> @@ -25,6 +27,8 @@ class MOJO_COMMON_EXPORT TypeConverter { public: static String ConvertFrom(const base::string16& input, Buffer* buf); static base::string16 ConvertTo(const String& input); + + MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION(); }; } // namespace mojo