chromium/components/translate/content/common/translate_mojom_traits.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/translate/content/common/translate_mojom_traits.h"

#include "mojo/public/cpp/base/string16_mojom_traits.h"
#include "mojo/public/cpp/base/time_mojom_traits.h"
#include "url/mojom/url_gurl_mojom_traits.h"

namespace mojo {

translate::mojom::TranslateError EnumTraits<
    translate::mojom::TranslateError,
    translate::TranslateErrors>::ToMojom(translate::TranslateErrors input) {}

bool EnumTraits<translate::mojom::TranslateError, translate::TranslateErrors>::
    FromMojom(translate::mojom::TranslateError input,
              translate::TranslateErrors* output) {}

// static
bool StructTraits<translate::mojom::LanguageDetectionDetailsDataView,
                  translate::LanguageDetectionDetails>::
    Read(translate::mojom::LanguageDetectionDetailsDataView data,
         translate::LanguageDetectionDetails* out) {}

}  // namespace mojo