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

Issue 2650003004: Don't offer to translate between Simplified and Traditional Chinese (Closed)

Created:
3 years, 11 months ago by riesa
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Anton Bakalov
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't offer to translate between Simplified and Traditional Chinese. BUG=683164 Review-Url: https://codereview.chromium.org/2650003004 Cr-Commit-Position: refs/heads/master@{#446213} Committed: https://chromium.googlesource.com/chromium/src/+/889fb1a6efab0b3e425b81575bbd7a62ed0c4eb1

Patch Set 1 #

Patch Set 2 : Adds unittests for this change. #

Patch Set 3 : Updates comments #

Total comments: 5

Patch Set 4 : Fixes unittests #

Total comments: 1

Patch Set 5 : Fixes unittests by simulating online mode and setting behavior for mock function. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
M components/translate/core/browser/translate_manager.cc View 1 2 3 4 2 chunks +5 lines, -2 lines 1 comment Download
M components/translate/core/browser/translate_manager_unittest.cc View 1 2 3 4 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
riesa
3 years, 11 months ago (2017-01-24 18:37:45 UTC) #3
groby-ooo-7-16
In general l-g-t-m, but I'm confused why the tests pass? https://codereview.chromium.org/2650003004/diff/40001/components/translate/core/browser/translate_manager_unittest.cc File components/translate/core/browser/translate_manager_unittest.cc (right): https://codereview.chromium.org/2650003004/diff/40001/components/translate/core/browser/translate_manager_unittest.cc#newcode321 ...
3 years, 11 months ago (2017-01-25 01:52:07 UTC) #6
riesa
On 2017/01/25 01:52:07, groby wrote: > In general l-g-t-m, but I'm confused why the tests ...
3 years, 11 months ago (2017-01-25 02:14:59 UTC) #11
groby-ooo-7-16
https://codereview.chromium.org/2650003004/diff/60001/components/translate/core/browser/translate_manager_unittest.cc File components/translate/core/browser/translate_manager_unittest.cc (right): https://codereview.chromium.org/2650003004/diff/60001/components/translate/core/browser/translate_manager_unittest.cc#newcode327 components/translate/core/browser/translate_manager_unittest.cc:327: histogram_tester.ExpectTotalCount(kMetricName, 0); That's the offending line, sorry for not ...
3 years, 11 months ago (2017-01-25 16:20:10 UTC) #14
riesa
On 2017/01/25 16:20:10, groby wrote: > https://codereview.chromium.org/2650003004/diff/60001/components/translate/core/browser/translate_manager_unittest.cc > File components/translate/core/browser/translate_manager_unittest.cc (right): > > https://codereview.chromium.org/2650003004/diff/60001/components/translate/core/browser/translate_manager_unittest.cc#newcode327 > ...
3 years, 11 months ago (2017-01-25 18:15:48 UTC) #17
groby-ooo-7-16
lgtm
3 years, 11 months ago (2017-01-26 00:09:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650003004/80001
3 years, 11 months ago (2017-01-26 02:40:51 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/889fb1a6efab0b3e425b81575bbd7a62ed0c4eb1
3 years, 11 months ago (2017-01-26 02:48:25 UTC) #25
Dan Beam
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2653183009/ by dbeam@chromium.org. ...
3 years, 11 months ago (2017-01-26 05:25:22 UTC) #26
kjellander_chromium
https://codereview.chromium.org/2650003004/diff/80001/components/translate/core/browser/translate_manager.cc File components/translate/core/browser/translate_manager.cc (right): https://codereview.chromium.org/2650003004/diff/80001/components/translate/core/browser/translate_manager.cc#newcode7 components/translate/core/browser/translate_manager.cc:7: #include <iostream> I'm confused how this could pass the ...
3 years, 11 months ago (2017-01-26 05:30:06 UTC) #28
kjellander_chromium
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2655223002/ by kjellander@chromium.org. ...
3 years, 11 months ago (2017-01-26 05:30:50 UTC) #29
riesa
3 years, 11 months ago (2017-01-26 07:51:29 UTC) #30
Message was sent while issue was closed.
On 2017/01/26 05:30:50, kjellander_chromium wrote:
> A revert of this CL (patchset #5 id:80001) has been created in
> https://codereview.chromium.org/2655223002/ by mailto:kjellander@chromium.org.
> 
> The reason for reverting is: Introduces static initializers; failing the sizes
> step in 
> https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/31922.

Ah, this was left over from debugging and I missed it. Sorry for the trouble.

Powered by Google App Engine
This is Rietveld 408576698