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

Unified Diff: components/translate/core/browser/translate_client.h

Issue 224723025: Componentize TranslateManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android Created 6 years, 8 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 | « components/translate.gypi ('k') | components/translate/core/browser/translate_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/translate.gypi ('k') | components/translate/core/browser/translate_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698