Index: ios/chrome/browser/translate/chrome_ios_translate_client.mm |
diff --git a/ios/chrome/browser/translate/chrome_ios_translate_client.mm b/ios/chrome/browser/translate/chrome_ios_translate_client.mm |
index 85b3d34a0338c6c55172dd2bf9222419440cf66c..8a493c958c4bc6624edc8d49986805cb2932bfbb 100644 |
--- a/ios/chrome/browser/translate/chrome_ios_translate_client.mm |
+++ b/ios/chrome/browser/translate/chrome_ios_translate_client.mm |
@@ -10,6 +10,7 @@ |
#include "base/logging.h" |
#include "base/memory/ptr_util.h" |
#include "components/infobars/core/infobar.h" |
+#include "components/metrics/proto/translate_event.pb.h" |
#include "components/prefs/pref_service.h" |
#include "components/translate/core/browser/page_translated_details.h" |
#include "components/translate/core/browser/translate_accept_languages.h" |
@@ -96,6 +97,11 @@ std::unique_ptr<infobars::InfoBar> ChromeIOSTranslateClient::CreateInfoBar( |
return std::move(infobar); |
} |
+void ChromeIOSTranslateClient::RecordTranslateEvent( |
+ const metrics::TranslateEventProto&) { |
+ // TODO(renjieliu): Implementing gaia-keyed logging. |
+} |
+ |
void ChromeIOSTranslateClient::ShowTranslateUI( |
translate::TranslateStep step, |
const std::string& source_language, |