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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.cc

Issue 552216: This CL makes the TranslationService class send the text to be translated to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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/renderer_host/resource_message_filter.cc
===================================================================
--- chrome/browser/renderer_host/resource_message_filter.cc (revision 37411)
+++ chrome/browser/renderer_host/resource_message_filter.cc (working copy)
@@ -1202,7 +1202,7 @@
void ResourceMessageFilter::OnTranslateText(
ViewHostMsg_TranslateTextParam param) {
- translation_service_.Translate(param.routing_id, param.work_id,
+ translation_service_.Translate(param.routing_id, param.page_id, param.work_id,
param.text_chunks, param.from_language,
param.to_language, param.secure);
}

Powered by Google App Engine
This is Rietveld 408576698