| Index: components/translate/core/common/language_detection_logging_helper.h
|
| diff --git a/components/translate/core/common/language_detection_logging_helper.h b/components/translate/core/common/language_detection_logging_helper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d8f67bba66fb925aa17b571e02e10b90ad0307c5
|
| --- /dev/null
|
| +++ b/components/translate/core/common/language_detection_logging_helper.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2017 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.
|
| +
|
| +#ifndef COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
|
| +#define COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
|
| +
|
| +#include <memory>
|
| +
|
| +namespace sync_pb {
|
| +class UserEventSpecifics;
|
| +}
|
| +
|
| +namespace translate {
|
| +
|
| +struct LanguageDetectionDetails;
|
| +
|
| +std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent(
|
| + const LanguageDetectionDetails& details);
|
| +
|
| +} // namespace translate
|
| +
|
| +#endif // COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
|
|
|