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

Unified Diff: ios/web_view/internal/translate/web_view_translate_client.mm

Issue 2913593002: Implementation of translation event logging. (Closed)
Patch Set: fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web_view/internal/translate/web_view_translate_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/translate/web_view_translate_client.mm
diff --git a/ios/web_view/internal/translate/web_view_translate_client.mm b/ios/web_view/internal/translate/web_view_translate_client.mm
index ddc9bed2305bb80029b705665fcf669dcd387ae1..7ade020a7eadc09f26da1f020442a822b0b0d3b1 100644
--- a/ios/web_view/internal/translate/web_view_translate_client.mm
+++ b/ios/web_view/internal/translate/web_view_translate_client.mm
@@ -112,6 +112,11 @@ int WebViewTranslateClient::GetInfobarIconID() const {
return 0;
}
+void WebViewTranslateClient::RecordTranslateEvent(
+ const metrics::TranslateEventProto&) {
+ // TODO(crbug.com/728491): Implementing gaia-keyed logging.
+}
+
bool WebViewTranslateClient::IsTranslatableURL(const GURL& url) {
return !url.is_empty() && !url.SchemeIs(url::kFtpScheme);
}
« no previous file with comments | « ios/web_view/internal/translate/web_view_translate_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698