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

Unified Diff: components/translate/core/common/language_detection_logging_helper.h

Issue 2916873004: Quick fix for logging. (Closed)
Patch Set: just use IsTranslatebleURL. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
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
index d8f67bba66fb925aa17b571e02e10b90ad0307c5..3871b4aee54bf8cc81023ff9defefb6658b85ad6 100644
--- a/components/translate/core/common/language_detection_logging_helper.h
+++ b/components/translate/core/common/language_detection_logging_helper.h
@@ -15,7 +15,10 @@ namespace translate {
struct LanguageDetectionDetails;
+// Construct language detection based on navigation_id and language detection
+// details.
std::unique_ptr<sync_pb::UserEventSpecifics> ConstructLanguageDetectionEvent(
+ const int navigation_id,
napper 2017/06/02 01:26:47 No benefit having the const here.
renjieliu1 2017/06/02 01:29:20 Done.
const LanguageDetectionDetails& details);
} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698