Index: components/translate/core/browser/translate_client.h |
diff --git a/components/translate/core/browser/translate_client.h b/components/translate/core/browser/translate_client.h |
index 13e4d989f14092c9f18f1f8d9dcfa3bae5d05a8c..6a2c3775ea5523aed040ca3c32f6f6c5344269e2 100644 |
--- a/components/translate/core/browser/translate_client.h |
+++ b/components/translate/core/browser/translate_client.h |
@@ -46,6 +46,11 @@ class TranslateClient { |
// Returns true if the URL can be translated. |
virtual bool IsTranslatableURL(const GURL& url) = 0; |
+ |
+ // Presents |report_url|, a URL containing information relating to reporting |
+ // a language detection error, to the user to allow them to report language |
+ // detection errors as desired. |
+ virtual void ShowReportLanguageDetectionErrorUI(const GURL& report_url) = 0; |
}; |
#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_CLIENT_H_ |