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

Issue 370463003: Add support for variations controlled overriding UI strings to the variations service. (Closed)

Created:
6 years, 5 months ago by jwd
Modified:
6 years, 5 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Add support for variations controlled overriding UI strings to the variations service. This is based off of http://crrev.com/322523002 BUG=370033 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284578

Patch Set 1 : #

Total comments: 32

Patch Set 2 : asvitkine's first round of comments #

Total comments: 16

Patch Set 3 : Rebase #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : Rebase #

Patch Set 6 : second round of comments #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -24 lines) Patch
M chrome/browser/metrics/variations/generate_resources_map.py View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/metrics/variations/generated_resources_map.h View 1 2 chunks +8 lines, -1 line 0 comments Download
A chrome/browser/metrics/variations/generated_resources_map_lookup.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/metrics/variations/generated_resources_map_lookup_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service.cc View 1 2 3 4 5 4 chunks +21 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/variations/processed_study.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/variations/processed_study.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M components/variations/proto/study.proto View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M components/variations/variations_seed_processor.h View 1 2 3 4 5 4 chunks +9 lines, -2 lines 0 comments Download
M components/variations/variations_seed_processor.cc View 1 2 3 4 5 6 chunks +44 lines, -7 lines 0 comments Download
M components/variations/variations_seed_processor_unittest.cc View 1 2 3 4 5 6 6 chunks +116 lines, -9 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
jwd
6 years, 5 months ago (2014-07-03 16:43:14 UTC) #1
Alexei Svitkine (slow)
Some initial comments, will look more later. https://codereview.chromium.org/370463003/diff/20001/chrome/browser/metrics/variations/generated_resources_map.h File chrome/browser/metrics/variations/generated_resources_map.h (right): https://codereview.chromium.org/370463003/diff/20001/chrome/browser/metrics/variations/generated_resources_map.h#newcode19 chrome/browser/metrics/variations/generated_resources_map.h:19: extern const ...
6 years, 5 months ago (2014-07-03 17:54:41 UTC) #2
Alexei Svitkine (slow)
A few more comments your way. https://codereview.chromium.org/370463003/diff/20001/components/variations/variations_seed_processor.cc File components/variations/variations_seed_processor.cc (right): https://codereview.chromium.org/370463003/diff/20001/components/variations/variations_seed_processor.cc#newcode62 components/variations/variations_seed_processor.cc:62: void ApplyUIStringOverrides( Add ...
6 years, 5 months ago (2014-07-04 15:48:52 UTC) #3
jwd
https://codereview.chromium.org/370463003/diff/20001/chrome/browser/metrics/variations/generated_resources_map.h File chrome/browser/metrics/variations/generated_resources_map.h (right): https://codereview.chromium.org/370463003/diff/20001/chrome/browser/metrics/variations/generated_resources_map.h#newcode19 chrome/browser/metrics/variations/generated_resources_map.h:19: extern const size_t kNumResources; On 2014/07/03 17:54:40, Alexei Svitkine ...
6 years, 5 months ago (2014-07-07 15:52:21 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/370463003/diff/40001/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/370463003/diff/40001/chrome/browser/metrics/variations/variations_service.cc#newcode206 chrome/browser/metrics/variations/variations_service.cc:206: int index = GetResourceIndex(hash); Nit: It might be clearer ...
6 years, 5 months ago (2014-07-15 16:44:52 UTC) #5
jwd
https://codereview.chromium.org/370463003/diff/40001/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/370463003/diff/40001/chrome/browser/metrics/variations/variations_service.cc#newcode206 chrome/browser/metrics/variations/variations_service.cc:206: int index = GetResourceIndex(hash); On 2014/07/15 16:44:52, Alexei Svitkine ...
6 years, 5 months ago (2014-07-16 21:33:05 UTC) #6
Alexei Svitkine (slow)
LGTM https://codereview.chromium.org/370463003/diff/80001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (left): https://codereview.chromium.org/370463003/diff/80001/chrome/chrome_tests_unit.gypi#oldcode1088 chrome/chrome_tests_unit.gypi:1088: 'browser/metrics/variations/variations_http_header_provider_unittest.cc', This diff looks weird. Do you need ...
6 years, 5 months ago (2014-07-17 13:43:31 UTC) #7
jwd
https://codereview.chromium.org/370463003/diff/80001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (left): https://codereview.chromium.org/370463003/diff/80001/chrome/chrome_tests_unit.gypi#oldcode1088 chrome/chrome_tests_unit.gypi:1088: 'browser/metrics/variations/variations_http_header_provider_unittest.cc', On 2014/07/17 13:43:31, Alexei Svitkine wrote: > This ...
6 years, 5 months ago (2014-07-18 20:10:29 UTC) #8
jwd
+sky@ for OWNERS on chrome_resources.gyp
6 years, 5 months ago (2014-07-21 13:17:55 UTC) #9
sky
chrome_resources.gyp LGTM
6 years, 5 months ago (2014-07-21 16:32:32 UTC) #10
jwd
The CQ bit was checked by jwd@chromium.org
6 years, 5 months ago (2014-07-21 20:59:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/370463003/120001
6 years, 5 months ago (2014-07-21 21:00:28 UTC) #12
jwd
The CQ bit was checked by jwd@chromium.org
6 years, 5 months ago (2014-07-21 21:32:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/370463003/140001
6 years, 5 months ago (2014-07-21 21:33:34 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 01:19:36 UTC) #15
Message was sent while issue was closed.
Change committed as 284578

Powered by Google App Engine
This is Rietveld 408576698