3 ms·
Additionally, if this flag ever goes away, the "kFormatUrlOmitTrivialSubdomains" is the internal flag for this, it seems[1], though its description says it's "N
by chch 8y ago
Additionally, if this flag ever goes away, the "kFormatUrlOmitTrivialSubdomains" is the internal flag for this, it seems[1], though its description says it's "Not in kFormatUrlOmitDefaults"[2].
Back when they removed the "http:" off of URLs, I used to use a hex editor to turn the kFormatUrlOmitHTTP bit flag off every time I got a new build, so I'd get the URL formatting I wanted, but eventually lost the mental wherewithal to continue the hack every week.
[1]
https://github.com/chromium/chromium/blob/3d41e77125f3de8d722b6d8303599abaf2a91667/components/url_formatter/url_formatter.cc#L454 https://github.com/chromium/chromium/blob/3d41e77125f3de8d72...
[2] https://github.com/chromium/chromium/blob/78aae16be65e409075816860e948d1536a548234/components/url_formatter/url_formatter.h#L82 https://github.com/chromium/chromium/blob/78aae16be65e409075...
- userbinator 8y agobut eventually lost the mental wherewithal to continue the hack every week. That's when you automate it as part of your "set up my environment exactly the way I like it" scripts ;-)
- exikyut 8y agoI have wanted to figure out for ages how to compute the location of these types of flags/vars in binary files. Incidentally I want to figure out how to do this on Linux. I presume I need debug symbol files, which I can download easily. How would I do this?