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

Unified Diff: chrome/browser/translate/chrome_translate_client.h

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: fix trybots Created 4 years, 1 month 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 | « no previous file | chrome/browser/translate/chrome_translate_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cf027569a97d7195652d9b259ccc2421e00e7ab2..23a1a6911cb706b370a9e0cdd1cc89bb68d835c4 100644
--- a/chrome/browser/translate/chrome_translate_client.h
+++ b/chrome/browser/translate/chrome_translate_client.h
@@ -36,6 +36,8 @@ class TranslatePrefs;
class TranslateManager;
} // namespace translate
+enum class ShowTranslateBubbleResult;
+
class ChromeTranslateClient
: public translate::TranslateClient,
public translate::ContentTranslateDriver::Observer,
@@ -117,8 +119,9 @@ class ChromeTranslateClient
void WebContentsDestroyed() override;
// Shows the translate bubble.
- void ShowBubble(translate::TranslateStep step,
- translate::TranslateErrors::Type error_type);
+ ShowTranslateBubbleResult ShowBubble(
+ translate::TranslateStep step,
+ translate::TranslateErrors::Type error_type);
translate::ContentTranslateDriver translate_driver_;
std::unique_ptr<translate::TranslateManager> translate_manager_;
« no previous file with comments | « no previous file | chrome/browser/translate/chrome_translate_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698