DescriptionTranslateManager is no longer a singleton
There is now a TranslateManager per tab.
TranslateManager is owned by TranslateTabHelper.
This changes simplifies all the tracking of WebContents objects,
since there is now one and only one WebContents per TranslateManager.
This allows to get rid of all the |web_contents| parameters as well as the
PendingRequest type.
Users of the TranslateManager now get a manager from a WebContents
object, through the associated TranslateTabHelper.
BUG=332736
TBR=brettw
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252098
Patch Set 1 : . #Patch Set 2 : rebase #
Total comments: 11
Patch Set 3 : Review comments #
Total comments: 20
Patch Set 4 : Rebase + review comments #
Total comments: 11
Patch Set 5 : review comments #Patch Set 6 : Fix TODO comment #Messages
Total messages: 14 (0 generated)
|