Index: components/translate/content/common/translate.typemap |
diff --git a/components/translate/content/common/translate.typemap b/components/translate/content/common/translate.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3aafd6a88ea10bee0fbd228f7ba4e5a2769ee86b |
--- /dev/null |
+++ b/components/translate/content/common/translate.typemap |
@@ -0,0 +1,23 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+mojom = "//components/translate/content/common/translate.mojom" |
+public_headers = [ |
+ "//components/translate/core/common/language_detection_details.h", |
+ "//components/translate/core/common/translate_errors.h", |
+] |
+traits_headers = |
+ [ "//components/translate/content/common/translate_struct_traits.h" ] |
+sources = [ |
+ "//components/translate/content/common/translate_struct_traits.cc", |
+] |
+deps = [ |
+ "//base", |
+ "//components/translate/core/common", |
+] |
+ |
+type_mappings = [ |
+ "translate.mojom.LanguageDetectionDetails=translate::LanguageDetectionDetails", |
+ "translate.mojom.TranslateError=translate::TranslateErrors::Type", |
+] |