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

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

Issue 2916873004: Quick fix for logging. (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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
6 #define COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_ 6 #define COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 namespace sync_pb { 10 namespace sync_pb {
11 class UserEventSpecifics; 11 class UserEventSpecifics;
12 } 12 }
13 13
14 namespace translate { 14 namespace translate {
15 15
16 struct LanguageDetectionDetails; 16 struct LanguageDetectionDetails;
17 17
18 // Construct language detection based on navigation_id and language detection
19 // details.
18 std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent( 20 std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent(
21 int64_t navigation_id,
19 const LanguageDetectionDetails& details); 22 const LanguageDetectionDetails& details);
20 23
21 } // namespace translate 24 } // namespace translate
22 25
23 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_ 26 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_LANGUAGE_DETECTION_LOGGING_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/test/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