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

Issue 1969243002: Fix regex to parse Variations UI override strings (Closed)

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

Description

Fix regex to parse Variations UI override strings Regex macro used to parse the UI override strings does not work for the generation enabled. This CL adds support to handle the pragma directive present in #define macro format. BUG=611273 Committed: https://crrev.com/e60a3b28edd120d48777c7bd16b5b8e9793e4d57 Cr-Commit-Position: refs/heads/master@{#393295}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed rkaplow and alexei comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M components/variations/service/generate_ui_string_overrider.py View 1 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Raj
asvitkine@ rkaplow@: Could one of you ptal. I just included both of you to fix ...
4 years, 7 months ago (2016-05-12 01:40:28 UTC) #2
Raj
https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py File components/variations/service/generate_ui_string_overrider.py (right): https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py#newcode25 components/variations/service/generate_ui_string_overrider.py:25: RESOURCE_EXTRACT_REGEX_PRAGMA_WINDOWS = re.compile( On 2016/05/12 01:40:27, Raj wrote: > ...
4 years, 7 months ago (2016-05-12 01:47:29 UTC) #4
rkaplow
can you also update the unit tests https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py File components/variations/service/generate_ui_string_overrider.py (right): https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py#newcode20 components/variations/service/generate_ui_string_overrider.py:20: # lines ...
4 years, 7 months ago (2016-05-12 01:52:53 UTC) #5
rkaplow
4 years, 7 months ago (2016-05-12 01:53:29 UTC) #7
Alexei Svitkine (slow)
Glad we got to the bottom of things - thanks for your investigation! https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py File ...
4 years, 7 months ago (2016-05-12 14:40:41 UTC) #8
Raj
ptal. I just want to keep this CL small for easy merge to M51. https://codereview.chromium.org/1969243002/diff/1/components/variations/service/generate_ui_string_overrider.py ...
4 years, 7 months ago (2016-05-12 17:03:40 UTC) #9
Alexei Svitkine (slow)
lgtm I'm fine with you doing the other requested changes in a follow-up CL. Thanks!
4 years, 7 months ago (2016-05-12 17:04:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1969243002/20001
4 years, 7 months ago (2016-05-12 17:05:56 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-12 17:53:27 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 17:55:09 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e60a3b28edd120d48777c7bd16b5b8e9793e4d57
Cr-Commit-Position: refs/heads/master@{#393295}

Powered by Google App Engine
This is Rietveld 408576698