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

Issue 2066483004: [Wait to be closed] [Translate] Migrate IPCs to Mojo interfaces. (Closed)

Created:
4 years, 6 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Translate] Migrate IPCs to Mojo interfaces. BUG=619390

Patch Set 1 #

Patch Set 2 : No test codes, No gyp #

Patch Set 3 : Old mojo interface architecture impl #

Patch Set 4 : New interface arch impl #

Patch Set 5 : Ensure TranslateCallback get run #

Total comments: 32

Patch Set 6 : Address comments from groby, Anand #

Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -299 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/translate/chrome_translate_client.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/translate/chrome_translate_client.cc View 1 2 3 4 5 2 chunks +21 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/translate/content/DEPS View 1 3 1 chunk +1 line, -1 line 0 comments Download
M components/translate/content/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
D components/translate/content/browser/content_translate_driver.h View 1 2 3 4 5 5 chunks +29 lines, -13 lines 0 comments Download
D components/translate/content/browser/content_translate_driver.cc View 1 2 3 4 5 6 chunks +45 lines, -45 lines 0 comments Download
D components/translate/content/common/BUILD.gn View 1 1 chunk +0 lines, -20 lines 0 comments Download
D components/translate/content/common/translate_messages.h View 1 1 chunk +0 lines, -67 lines 0 comments Download
D components/translate/content/common/translate_messages.cc View 1 1 chunk +0 lines, -39 lines 0 comments Download
A + components/translate/content/public/cpp/DEPS View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/translate/content/public/cpp/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A components/translate/content/public/cpp/translate.typemap View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A components/translate/content/public/cpp/translate_struct_traits.h View 1 1 chunk +76 lines, -0 lines 0 comments Download
A components/translate/content/public/cpp/translate_struct_traits.cc View 1 1 chunk +120 lines, -0 lines 0 comments Download
A + components/translate/content/public/interfaces/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + components/translate/content/public/interfaces/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A components/translate/content/public/interfaces/translate.mojom View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M components/translate/content/renderer/BUILD.gn View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M components/translate/content/renderer/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
D components/translate/content/renderer/translate_helper.h View 1 2 3 4 5 7 chunks +24 lines, -24 lines 0 comments Download
D components/translate/content/renderer/translate_helper.cc View 1 2 3 4 5 18 chunks +77 lines, -84 lines 0 comments Download
M components/typemaps.gni View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 1 chunk +0 lines, -1 line 0 comments Download
A + tools/ipc_fuzzer/message_lib/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/ipc_fuzzer/message_lib/all_messages.h View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (2 generated)
leonhsl(Using Gerrit)
ps#1 is just for reference. Will update continuously. Thanks.
4 years, 6 months ago (2016-06-14 03:37:52 UTC) #2
leonhsl(Using Gerrit)
Will update this CL according new interface architecture: interface Page { Translate(string translate_script, string source_lang, ...
4 years, 5 months ago (2016-07-04 06:09:06 UTC) #3
leonhsl(Using Gerrit)
OK I think now ps#5 are ready for review, it's according from the new mojo ...
4 years, 5 months ago (2016-07-05 07:53:04 UTC) #4
leonhsl(Using Gerrit)
Soft ping, Thanks ;-)
4 years, 5 months ago (2016-07-08 05:12:00 UTC) #6
groby-ooo-7-16
On 2016/07/08 05:12:00, leonhsl wrote: > Soft ping, Thanks ;-) A few initial thoughts. It ...
4 years, 5 months ago (2016-07-11 22:30:28 UTC) #7
groby-ooo-7-16
And now with additional questions :) https://codereview.chromium.org/2066483004/diff/80001/components/translate/content/browser/content_translate_driver_impl.cc File components/translate/content/browser/content_translate_driver_impl.cc (right): https://codereview.chromium.org/2066483004/diff/80001/components/translate/content/browser/content_translate_driver_impl.cc#newcode222 components/translate/content/browser/content_translate_driver_impl.cc:222: void ContentTranslateDriverImpl::OnPageTranslated( Is ...
4 years, 5 months ago (2016-07-11 22:34:43 UTC) #8
leonhsl(Using Gerrit)
On 2016/07/11 22:30:28, groby wrote: > On 2016/07/08 05:12:00, leonhsl wrote: > > Soft ping, ...
4 years, 5 months ago (2016-07-12 02:04:52 UTC) #9
leonhsl(Using Gerrit)
Thanks groby a lot for review comments. Inline answers. https://codereview.chromium.org/2066483004/diff/80001/components/translate/content/browser/content_translate_driver_impl.cc File components/translate/content/browser/content_translate_driver_impl.cc (right): https://codereview.chromium.org/2066483004/diff/80001/components/translate/content/browser/content_translate_driver_impl.cc#newcode222 components/translate/content/browser/content_translate_driver_impl.cc:222: ...
4 years, 5 months ago (2016-07-12 02:48:17 UTC) #10
Anand Mistry (off Chromium)
https://codereview.chromium.org/2066483004/diff/80001/chrome/browser/translate/chrome_translate_client.cc File chrome/browser/translate/chrome_translate_client.cc (right): https://codereview.chromium.org/2066483004/diff/80001/chrome/browser/translate/chrome_translate_client.cc#newcode146 chrome/browser/translate/chrome_translate_client.cc:146: // We try to bind to the driver, but ...
4 years, 5 months ago (2016-07-12 07:17:09 UTC) #11
leonhsl(Using Gerrit)
Thanks Anand a lot for comments. Inline discussion firstly, and later I'll modify codes to ...
4 years, 5 months ago (2016-07-12 10:15:10 UTC) #12
leonhsl(Using Gerrit)
https://codereview.chromium.org/2066483004/diff/80001/chrome/browser/translate/chrome_translate_client.cc File chrome/browser/translate/chrome_translate_client.cc (right): https://codereview.chromium.org/2066483004/diff/80001/chrome/browser/translate/chrome_translate_client.cc#newcode146 chrome/browser/translate/chrome_translate_client.cc:146: // We try to bind to the driver, but ...
4 years, 5 months ago (2016-07-13 09:56:18 UTC) #13
leonhsl(Using Gerrit)
Uploaded ps#6 to address all the comments until now, and because the error marks "D" ...
4 years, 5 months ago (2016-07-13 10:05:28 UTC) #14
leonhsl(Using Gerrit)
4 years, 5 months ago (2016-07-13 10:07:43 UTC) #15
leonhsl(Using Gerrit)
4 years, 4 months ago (2016-08-10 09:16:59 UTC) #16
Close this CL as the new one https://codereview.chromium.org/2143383002/ has
landed.

Powered by Google App Engine
This is Rietveld 408576698