Index: chrome/browser/translate/chrome_translate_client.h |
diff --git a/chrome/browser/translate/chrome_translate_client.h b/chrome/browser/translate/chrome_translate_client.h |
index b597b6104870d7819c056b1aca2bfbdc95ccfc7b..3192b36da51d6586881b0bbf0bca96bd77baad7f 100644 |
--- a/chrome/browser/translate/chrome_translate_client.h |
+++ b/chrome/browser/translate/chrome_translate_client.h |
@@ -112,6 +112,10 @@ class ChromeTranslateClient |
private: |
explicit ChromeTranslateClient(content::WebContents* web_contents); |
friend class content::WebContentsUserData<ChromeTranslateClient>; |
+ FRIEND_TEST_ALL_PREFIXES(ChromeTranslateClientTest, |
+ LanguageEventShouldRecord); |
+ FRIEND_TEST_ALL_PREFIXES(ChromeTranslateClientTest, |
+ LanguageEventShouldNotRecord); |
// content::WebContentsObserver implementation. |
void WebContentsDestroyed() override; |