Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: components/translate/core/common/language_detection_logging_helper.h

Issue 2912843003: Refactoring ConstructLanguageDetectionEvent. (Closed)
Patch Set: updates Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
6 #define COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
7
8 #include <memory>
9
10 namespace sync_pb {
11 class UserEventSpecifics;
12 }
13
14 namespace translate {
15
16 struct LanguageDetectionDetails;
17
18 std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent(
19 const LanguageDetectionDetails& details);
20
21 } // namespace translate
22
23 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
OLDNEW
« no previous file with comments | « components/translate/core/common/BUILD.gn ('k') | components/translate/core/common/language_detection_logging_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698