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

Issue 286973003: Remove dependency of TranslateInfobarDelegate on profile (Closed)

Created:
6 years, 7 months ago by droger
Modified:
6 years, 7 months ago
Reviewers:
blundell
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Remove dependency of TranslateInfobarDelegate on profile This CL uses TranslateTabHelper instead of Profile and also cleans up some unused code and irrelevant dependencies. BUG=371845 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270758

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -23 lines) Patch
M chrome/browser/translate/translate_infobar_delegate.h View 3 chunks +6 lines, -7 lines 1 comment Download
M chrome/browser/translate/translate_infobar_delegate.cc View 4 chunks +7 lines, -16 lines 6 comments Download

Messages

Total messages: 9 (0 generated)
droger
https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc File chrome/browser/translate/translate_infobar_delegate.cc (right): https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc#newcode151 chrome/browser/translate/translate_infobar_delegate.cc:151: translate_tab_helper->GetTranslateAcceptLanguages(); This is fine because the TranslateAcceptLanguagesFactory internally redirects ...
6 years, 7 months ago (2014-05-15 14:05:36 UTC) #1
blundell
https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc File chrome/browser/translate/translate_infobar_delegate.cc (left): https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc#oldcode287 chrome/browser/translate/translate_infobar_delegate.cc:287: base::string16 TranslateInfoBarDelegate::GetLanguageDisplayableName( This was just dead code? https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc File ...
6 years, 7 months ago (2014-05-15 15:33:47 UTC) #2
droger
https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc File chrome/browser/translate/translate_infobar_delegate.cc (left): https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc#oldcode287 chrome/browser/translate/translate_infobar_delegate.cc:287: base::string16 TranslateInfoBarDelegate::GetLanguageDisplayableName( On 2014/05/15 15:33:48, blundell wrote: > This ...
6 years, 7 months ago (2014-05-15 15:42:26 UTC) #3
blundell
LGTM
6 years, 7 months ago (2014-05-15 15:45:01 UTC) #4
droger
The CQ bit was checked by droger@chromium.org
6 years, 7 months ago (2014-05-15 15:48:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/286973003/1
6 years, 7 months ago (2014-05-15 15:50:32 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 16:47:40 UTC) #7
tfarina
https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc File chrome/browser/translate/translate_infobar_delegate.cc (right): https://codereview.chromium.org/286973003/diff/1/chrome/browser/translate/translate_infobar_delegate.cc#newcode1 chrome/browser/translate/translate_infobar_delegate.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
6 years, 7 months ago (2014-05-15 17:43:38 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 18:54:50 UTC) #9
Message was sent while issue was closed.
Change committed as 270758

Powered by Google App Engine
This is Rietveld 408576698