summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.cc
diff options
context:
space:
mode:
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 20:02:18 +0000
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 20:02:18 +0000
commit29b787f010e8e53cf0f473dbe52c6a17da476391 (patch)
treee49d0c28d22f8c5f46aca68dac142abe2e596599 /chrome/browser/browser_process.cc
parent0d97e147adaf3ba0e258921808a016e40a1a0898 (diff)
downloadchromium_src-29b787f010e8e53cf0f473dbe52c6a17da476391.zip
chromium_src-29b787f010e8e53cf0f473dbe52c6a17da476391.tar.gz
chromium_src-29b787f010e8e53cf0f473dbe52c6a17da476391.tar.bz2
Refactor TranslateAcceptLanguages as a BrowserContextKeyedService
This CL refactors TranslateAcceptLanguages as a BrowserContextKeyedService, and moves it into the Translate component. The choice of BrowserContextKeyedService seems obvious since there is one accept languages list per profile. The existing code is simplified, since the handling of profiles and notifications is deferred to the BrowserContextKeyedService code and can be removed. Note that there is now one TranslateAcceptLanguages instance per profile (it was a singleton owned by TranslateManager previously). BUG=335076 Review URL: https://codereview.chromium.org/149753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.cc')
0 files changed, 0 insertions, 0 deletions