| # 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", |
| ] |