Chromium Code Reviews| Index: components/translate/content/public/cpp/translate.typemap |
| diff --git a/components/translate/content/public/cpp/translate.typemap b/components/translate/content/public/cpp/translate.typemap |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..71e8170400de9a5b2a5a2d3626f302d5b36a150c |
| --- /dev/null |
| +++ b/components/translate/content/public/cpp/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/public/interfaces/translate.mojom" |
| +public_headers = [ |
| + "//components/translate/core/common/language_detection_details.h", |
| + "//components/translate/core/common/translate_errors.h", |
| +] |
| +traits_headers = |
|
Ken Rockot(use gerrit already)
2016/07/29 17:21:17
nit: Weird formatting. Should be
traits_headers =
leonhsl(Using Gerrit)
2016/07/30 08:45:06
Done.
|
| + [ "//components/translate/content/public/cpp/translate_struct_traits.h" ] |
| +sources = [ |
| + "//components/translate/content/public/cpp/translate_struct_traits.cc", |
| +] |
| +deps = [ |
| + "//base", |
| + "//components/translate/core/common", |
| +] |
| + |
| +type_mappings = [ |
| + "translate.mojom.LanguageDetectionDetails=translate::LanguageDetectionDetails", |
| + "translate.mojom.TranslateError=translate::TranslateErrors::Type", |
| +] |