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

Issue 131463002: Move TranslateURLFetcher to the translate component (Closed)

Created:
6 years, 11 months ago by droger
Modified:
6 years, 11 months ago
Reviewers:
cbentzel, MAD, blundell
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move TranslateURLFetcher to the translate component This CL introduces the TranslateDelegate to inject the required dependencies in the translate component. TranslateDelegate is a singleton for now, but this will need to be revisited once the ownership model of TranslateManager is improved. BUG=331509 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244199

Patch Set 1 : . #

Total comments: 5

Patch Set 2 : Review comments #

Patch Set 3 : Fix translate.gypi #

Patch Set 4 : Rebase #

Patch Set 5 : Fix translate.gypi for real #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -180 lines) Patch
A chrome/browser/translate/chrome_translate_delegate.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/translate/chrome_translate_delegate.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_language_list.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/translate/translate_script.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
D chrome/browser/translate/translate_url_fetcher.h View 1 chunk +0 lines, -84 lines 0 comments Download
D chrome/browser/translate/translate_url_fetcher.cc View 1 chunk +0 lines, -82 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M components/translate.gypi View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M components/translate/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/translate/core/browser/translate_delegate.h View 1 1 chunk +21 lines, -0 lines 0 comments Download
A + components/translate/core/browser/translate_url_fetcher.h View 1 4 chunks +10 lines, -4 lines 0 comments Download
A + components/translate/core/browser/translate_url_fetcher.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M tools/gn/secondary/components/translate/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
droger
6 years, 11 months ago (2014-01-09 12:07:09 UTC) #1
blundell
Mostly nits. https://codereview.chromium.org/131463002/diff/60001/chrome/browser/translate/translate_delegate_impl.h File chrome/browser/translate/translate_delegate_impl.h (right): https://codereview.chromium.org/131463002/diff/60001/chrome/browser/translate/translate_delegate_impl.h#newcode20 chrome/browser/translate/translate_delegate_impl.h:20: class TranslateDelegateImpl : public TranslateDelegate { It ...
6 years, 11 months ago (2014-01-09 12:14:17 UTC) #2
droger
Thanks for the review. +mad as OWNER
6 years, 11 months ago (2014-01-09 17:41:49 UTC) #3
droger
+cbentzel as OWNER for the addition of net/ in components/translate/DEPS
6 years, 11 months ago (2014-01-09 18:10:07 UTC) #4
droger
+cbentzel as OWNER for the addition of net/ in components/translate/DEPS
6 years, 11 months ago (2014-01-09 18:10:22 UTC) #5
MAD
LGMT...
6 years, 11 months ago (2014-01-09 22:04:34 UTC) #6
cbentzel
LGTM for net dependency,
6 years, 11 months ago (2014-01-09 22:05:49 UTC) #7
MAD
Oupsss... LGTM not LGMT ;-)
6 years, 11 months ago (2014-01-09 22:06:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/131463002/200001
6 years, 11 months ago (2014-01-09 22:33:43 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/browser/translate/translate_language_list.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-09 22:33:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/131463002/330001
6 years, 11 months ago (2014-01-10 11:54:52 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=244748
6 years, 11 months ago (2014-01-10 12:43:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/131463002/660001
6 years, 11 months ago (2014-01-10 14:33:27 UTC) #13
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 17:59:54 UTC) #14
Message was sent while issue was closed.
Change committed as 244199

Powered by Google App Engine
This is Rietveld 408576698