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

Issue 2625903006: Blacklist renaming inside blink::protocol namespace. (Closed)

Created:
3 years, 11 months ago by Łukasz Anforowicz
Modified:
3 years, 11 months ago
Reviewers:
danakj, nasko, dcheng
CC:
chromium-reviews, danakj
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blacklist renaming inside blink::protocol namespace. BUG=680343 Review-Url: https://codereview.chromium.org/2625903006 Cr-Commit-Position: refs/heads/master@{#443432} Committed: https://chromium.googlesource.com/chromium/src/+/bc607cdd4b82a2f67864b3a33d5368d595b03a96

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 chunk +7 lines, -1 line 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/namespaces-expected.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/namespaces-original.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Łukasz Anforowicz
nasko@, can you confirm (and maybe add a specific example to https://crbug.com/680343) that we need ...
3 years, 11 months ago (2017-01-12 01:08:36 UTC) #2
dcheng
LGTM assuming this fixes things. (CCing danakj@, who hit some of these issues with one ...
3 years, 11 months ago (2017-01-12 10:27:09 UTC) #3
danakj
This isn't using includeAllOverriddenMethods so I'm having trouble telling if/how this would assert if we ...
3 years, 11 months ago (2017-01-12 17:04:12 UTC) #5
Łukasz Anforowicz
On 2017/01/12 17:04:12, danakj (slow) wrote: > This isn't using includeAllOverriddenMethods so I'm having trouble ...
3 years, 11 months ago (2017-01-12 17:08:51 UTC) #6
danakj
On Thu, Jan 12, 2017 at 12:08 PM, <lukasza@chromium.org> wrote: > On 2017/01/12 17:04:12, danakj ...
3 years, 11 months ago (2017-01-12 18:48:36 UTC) #7
Łukasz Anforowicz
Rationale for blacklisting blink::protocol namespace is in https://crbug.com/680343#c1. I am going to push this CL ...
3 years, 11 months ago (2017-01-12 23:57:29 UTC) #8
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/2625903006/1
3 years, 11 months ago (2017-01-12 23:58:31 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/bc607cdd4b82a2f67864b3a33d5368d595b03a96
3 years, 11 months ago (2017-01-13 01:25:32 UTC) #13
danakj
3 years, 11 months ago (2017-01-13 16:32:22 UTC) #14
Message was sent while issue was closed.
OK good I confirmed that this does notice if blink and blink::protocol virtuals
collide with an override.

ERROR:
/usr/local/google/home/danakj/s/c/src/tools/clang/rewrite_to_chrome_style/tests/namespaces-actual.cc:30:3:
blink::ChildOfBoth::myVirtual method overrides some virtual methods that will be
automatically renamed and some that won't be renamed.
Overriden method that will be renamed:
/usr/local/google/home/danakj/s/c/src/tools/clang/rewrite_to_chrome_style/tests/namespaces-actual.cc:16:3:
blink::ParentInBlink::myVirtual
Overriden method that will not be renamed:
/usr/local/google/home/danakj/s/c/src/tools/clang/rewrite_to_chrome_style/tests/namespaces-actual.cc:24:3:
blink::protocol::ParentInBlinkProtocol::myVirtual

Powered by Google App Engine
This is Rietveld 408576698