Advise requested - large namespace change and folder change strategy

35 views
Skip to first unread message

Dan Murphy

unread,
Nov 3, 2025, 4:33:01 PM (4 days ago) Nov 3
to Chromium-dev
Hey all,

We have long standing bugs to do the following:
- change all `web_app::` namespaces to `webapps::` namespaces
- change all `web_applications` folders to `webapps`.

This has always seemed pretty non-trivial and difficult. But - interested if others have had to do something similar in the past, and what that was like / what worked & didn't work.

I was thinking for the namespace change there could be a two-phase thing, where I could start by having all header files add a 'using webapps;' in the web_apps namespace, then do a change that modifies all of the namespaces (but not callers) and keep the `namespace web_app{ using webapps: }` code in each header, and then do a git-cl-split for the final change to update all callers?

Any nice way to do these in a git-cl-split compatible way? Or other ideas?

Dan
Reply all
Reply to author
Forward
0 new messages