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

Issue 601069: Fix the TranslateManager and unit-tests.... (Closed)

Created:
10 years, 10 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
wtc, kuan
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix the TranslateManager and unit-tests. There was a bug that was initialy turning on translate all the time. When fixed it made the unit-tests fail, revealing another bug. The test was calling a virtual method in its constructor, which was bad and not turning on translate for the tests. BUG=None TEST=UI tests, browser tests, unit-tests should pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38995

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
M chrome/browser/translate/translate_manager.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/translate/translate_manager_unittest.cc View 1 2 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jcampan
10 years, 10 months ago (2010-02-13 01:10:12 UTC) #1
jcampan
Adding Wan-Teh to the list of reviewers
10 years, 10 months ago (2010-02-13 01:13:41 UTC) #2
wtc
LGTM.
10 years, 10 months ago (2010-02-13 01:22:27 UTC) #3
kuan
10 years, 10 months ago (2010-02-13 16:28:22 UTC) #4
On 2010/02/13 01:22:27, wtc wrote:
> LGTM.

LGTM.

Powered by Google App Engine
This is Rietveld 408576698