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

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

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 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
Index: chrome/browser/translate/chrome_translate_client.cc
diff --git a/chrome/browser/translate/chrome_translate_client.cc b/chrome/browser/translate/chrome_translate_client.cc
index 52a442a7b9ce6a3e6e5949fd98a5f034cc19c873..830d647c55473048a8813db47a967be9b8bbf6bb 100644
--- a/chrome/browser/translate/chrome_translate_client.cc
+++ b/chrome/browser/translate/chrome_translate_client.cc
@@ -172,6 +172,7 @@ void ChromeTranslateClient::GetTranslateLanguages(
// static
void ChromeTranslateClient::BindContentTranslateDriver(
content::RenderFrameHost* render_frame_host,
+ const service_manager::BindSourceInfo& source_info,
translate::mojom::ContentTranslateDriverRequest request) {
content::WebContents* web_contents =
content::WebContents::FromRenderFrameHost(render_frame_host);

Powered by Google App Engine
This is Rietveld 408576698