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

Issue 2182553002: Add other variations (with ids) for NTPSnippets to chrome://flags (Closed)

Created:
4 years, 5 months ago by jkrcal
Modified:
4 years, 4 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, sfiera, imansourov1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add other variations (with ids) for NTPSnippets to chrome://flags This CL allows to specify variation ids for variations defined for chrome://flags. The CL also extends the list of variations for the NTPSnippets feature (some of the variations specify a variation id). This issue also updates the iOS code to achieve feature parity w.r.t. issues 2036193002 and 2129543002. BUG=631442 Committed: https://crrev.com/bf07337daa7e3f20fcb1839f300baab6f1df3f35 Cr-Commit-Position: refs/heads/master@{#408599}

Patch Set 1 #

Patch Set 2 : Remove an empty line (added by mistake) #

Total comments: 6

Patch Set 3 : Alexei's and Lei's comments #

Total comments: 2

Patch Set 4 : Alexei's comments #2 #

Total comments: 6

Patch Set 5 : Rebase #

Patch Set 6 : Alexei's comments #

Patch Set 7 : iOS parity #

Patch Set 8 : Clang compile fix #

Patch Set 9 : Unittest fix #

Total comments: 8

Patch Set 10 : Alexei's comments #4 #

Total comments: 1

Patch Set 11 : Unit-test test ( rebase) #

Patch Set 12 : Alexei's comment #5 + fix a bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -56 lines) Patch
M chrome/browser/about_flags.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +35 lines, -10 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -14 lines 0 comments Download
M components/flags_ui/feature_entry.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M components/flags_ui/flags_state.h View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M components/flags_ui/flags_state.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download
M components/flags_ui/flags_state_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M components/variations/variations_associated_data.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M components/variations/variations_associated_data.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/variations/variations_http_header_provider.h View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -5 lines 0 comments Download
M components/variations/variations_http_header_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +24 lines, -4 lines 0 comments Download
M components/variations/variations_http_header_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -4 lines 0 comments Download
M ios/chrome/browser/about_flags.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M ios/chrome/browser/about_flags.mm View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M ios/chrome/browser/ios_chrome_main_parts.mm View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -12 lines 0 comments Download

Messages

Total messages: 48 (28 generated)
jkrcal
Alexei, PTAL at the whole CL Lei, PTAL at chrome/browser Chris, Igor: FYI, the new ...
4 years, 5 months ago (2016-07-25 16:20:48 UTC) #2
Lei Zhang
Looks ok, but I mostly defer to Alexei. Is there a BUG= for this? https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/chrome_browser_main.cc ...
4 years, 5 months ago (2016-07-25 17:37:20 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/about_flags.cc#newcode2132 chrome/browser/about_flags.cc:2132: std::string RegisterAllFeatureVariationParameters( Nit: Remove extra space. https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc ...
4 years, 5 months ago (2016-07-25 19:15:50 UTC) #4
jkrcal
Thanks! PTAL, again. https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2182553002/diff/20001/chrome/browser/about_flags.cc#newcode2132 chrome/browser/about_flags.cc:2132: std::string RegisterAllFeatureVariationParameters( On 2016/07/25 19:15:50, Alexei ...
4 years, 5 months ago (2016-07-26 09:00:21 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/2182553002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2182553002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode750 chrome/browser/chrome_browser_main.cc:750: } I still think all this work should be ...
4 years, 4 months ago (2016-07-26 14:44:07 UTC) #7
jkrcal
Thanks, Alexei! I also fixed a unittest. PTAL, again. https://codereview.chromium.org/2182553002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2182553002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode750 chrome/browser/chrome_browser_main.cc:750: ...
4 years, 4 months ago (2016-07-26 15:50:39 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/2182553002/diff/60001/components/variations/variations_associated_data.cc File components/variations/variations_associated_data.cc (right): https://codereview.chromium.org/2182553002/diff/60001/components/variations/variations_associated_data.cc#newcode173 components/variations/variations_associated_data.cc:173: std::string command_line_variation_ids) { Pass the string by const& and ...
4 years, 4 months ago (2016-07-26 16:43:35 UTC) #13
jkrcal
Thanks, Alexei. I'll get to it tomorrow, again. Slightly unrelated: the build fails for iOS ...
4 years, 4 months ago (2016-07-26 16:54:42 UTC) #14
Alexei Svitkine (slow)
Ah yes, unfortunately that file is forked on iOS. I suggest syncing them up to ...
4 years, 4 months ago (2016-07-26 18:07:58 UTC) #15
jkrcal
Thanks, Alexei! PTAL, again. Sylvain, could you PTAL on the iOS code? https://codereview.chromium.org/2182553002/diff/60001/components/variations/variations_associated_data.cc File components/variations/variations_associated_data.cc ...
4 years, 4 months ago (2016-07-27 10:09:04 UTC) #20
sdefresne
ios/ lgtm
4 years, 4 months ago (2016-07-27 12:06:47 UTC) #27
Alexei Svitkine (slow)
https://codereview.chromium.org/2182553002/diff/160001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2182553002/diff/160001/chrome/browser/chrome_browser_main.cc#newcode743 chrome/browser/chrome_browser_main.cc:743: // X-Client-Data request header. This comment was actually about ...
4 years, 4 months ago (2016-07-27 15:04:18 UTC) #28
jkrcal
Thanks! PTAL, again. (There is still a weird bug in the unittest of variations_http_header_provider on ...
4 years, 4 months ago (2016-07-27 17:12:44 UTC) #31
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2182553002/diff/180001/components/variations/variations_http_header_provider.cc File components/variations/variations_http_header_provider.cc (right): https://codereview.chromium.org/2182553002/diff/180001/components/variations/variations_http_header_provider.cc#newcode68 components/variations/variations_http_header_provider.cc:68: variation_ids_flags.end()); Nit: Align
4 years, 4 months ago (2016-07-27 17:31:27 UTC) #32
jkrcal
Thanks, Alexei! Btw. there was quite an intriguing bug that only appeared in unit-tests on ...
4 years, 4 months ago (2016-07-28 17:12:51 UTC) #35
Alexei Svitkine (slow)
On 2016/07/28 17:12:51, jkrcal wrote: > Thanks, Alexei! > > Btw. there was quite an ...
4 years, 4 months ago (2016-07-28 18:07:26 UTC) #40
Lei Zhang
lgtm
4 years, 4 months ago (2016-07-28 18:33:07 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2182553002/210001
4 years, 4 months ago (2016-07-29 07:17:05 UTC) #44
commit-bot: I haz the power
Committed patchset #12 (id:210001)
4 years, 4 months ago (2016-07-29 07:21:47 UTC) #46
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 07:24:04 UTC) #48
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/bf07337daa7e3f20fcb1839f300baab6f1df3f35
Cr-Commit-Position: refs/heads/master@{#408599}

Powered by Google App Engine
This is Rietveld 408576698