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

Issue 1525203003: [Translate] Factor out access to Accept-Languages (Closed)

Created:
5 years ago by groby-ooo-7-16
Modified:
5 years ago
Reviewers:
hajimehoshi
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@translate-manager-unit
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Translate] Factor out access to Accept-Languages Code to get accept-lang was repeated in several places. Unified into TranslatePrefs, so all accessors share the same code path. BUG=569219 Committed: https://crrev.com/c46f7a2a47d62334679c764abde2d177785a883d Cr-Commit-Position: refs/heads/master@{#365924}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove unneeded code. #

Patch Set 3 : Actually register prefs for testing. SO MUCH CODE. #

Patch Set 4 : Fix CrOS build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -51 lines) Patch
M chrome/browser/translate/chrome_translate_client.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/translate/translate_service.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M components/translate/core/browser/translate_manager.h View 1 chunk +1 line, -2 lines 0 comments Download
M components/translate/core/browser/translate_manager.cc View 1 4 chunks +9 lines, -15 lines 0 comments Download
M components/translate/core/browser/translate_manager_unittest.cc View 1 2 3 1 chunk +55 lines, -24 lines 0 comments Download
M components/translate/core/browser/translate_prefs.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/translate/core/browser/translate_prefs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
groby-ooo-7-16
PTAL - this is more work in preparation for a translate experiment to change the ...
5 years ago (2015-12-16 02:48:26 UTC) #1
groby-ooo-7-16
PTAL (also, please see previous comment - I hit send without adding you to reviewers, ...
5 years ago (2015-12-17 01:38:56 UTC) #4
hajimehoshi
lgtm On 2015/12/16 02:48:26, groby wrote: > PTAL - this is more work in preparation ...
5 years ago (2015-12-17 06:18:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525203003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525203003/60001
5 years ago (2015-12-17 21:58:28 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-17 22:39:53 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-17 22:40:50 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c46f7a2a47d62334679c764abde2d177785a883d
Cr-Commit-Position: refs/heads/master@{#365924}

Powered by Google App Engine
This is Rietveld 408576698